aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com>2023-11-08 13:28:31 +0900
committerJaKooLit <jimmielovejay@gmail.com>2023-11-08 13:28:31 +0900
commit0e609f22338acf72980989c2c03067e736848eef (patch)
tree414f20ff370fe15c1226b6957d8173e13aa33eb3
parent8a237a9843cdd81c522e6e514f6fe732c8b25668 (diff)
for VM set auto resolution
-rw-r--r--copy.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/copy.sh b/copy.sh
index 1a30555f..f5d787be 100644
--- a/copy.sh
+++ b/copy.sh
@@ -32,6 +32,7 @@ if hostnamectl | grep -q 'Chassis: vm'; then
echo "This script is running in a virtual machine."
sed -i '/env = WLR_NO_HARDWARE_CURSORS,1/s/^#//' config/hypr/configs/ENVariables.conf
sed -i '/env = WLR_RENDERER_ALLOW_SOFTWARE,1/s/^#//' config/hypr/configs/ENVariables.conf
+ sed -i '/monitor = Virtual-1, 1920x1080@60,auto,1/s/^#//' config/hypr/configs/Monitors.conf
fi
# preparing hyprland.conf keyboard layout
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage