aboutsummaryrefslogtreecommitdiffstats
path: root/copy.sh
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2024-08-10 15:29:49 +0000
committerGitHub <noreply@github.com>2024-08-10 15:29:49 +0000
commit76e435c301860a9552ae15b3dedfb825379f407b (patch)
treed80f5d1f469304bd625b4a8fd2c49085e24f3285 /copy.sh
parent80cc0925b6c02294c27f0d75c170a49ea3f64937 (diff)
parent69a7793deddb102d9643d5ee047bde81ba25bcbd (diff)
Merge pull request #401 from JaKooLit/main
Main to Development
Diffstat (limited to 'copy.sh')
-rwxr-xr-xcopy.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/copy.sh b/copy.sh
index f1e1d257..d691c531 100755
--- a/copy.sh
+++ b/copy.sh
@@ -62,9 +62,10 @@ fi
# uncommenting WLR_RENDERER_ALLOW_SOFTWARE,1 if running in a VM is detected
if hostnamectl | grep -q 'Chassis: vm'; then
echo "System is running in a virtual machine." 2>&1 | tee -a "$LOG" || true
- # enabling no hardware cursors if VM detected
+ # enabling proper ENV's for Virtual Environment which should help
sed -i 's/^\([[:space:]]*no_hardware_cursors[[:space:]]*=[[:space:]]*\)false/\1true/' config/hypr/UserConfigs/UserSettings.conf
sed -i '/env = WLR_RENDERER_ALLOW_SOFTWARE,1/s/^#//' config/hypr/UserConfigs/ENVariables.conf
+ sed -i '/env = LIBGL_ALWAYS_SOFTWARE,1/s/^#//' config/hypr/UserConfigs/ENVariables.conf
sed -i '/monitor = Virtual-1, 1920x1080@60,auto,1/s/^#//' config/hypr/UserConfigs/Monitors.conf
fi
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage