From fc4d6752495071ac3ca116615f876cd2de82b878 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 29 Dec 2024 13:26:13 +0900 Subject: some changes on UserSettings; High reso and refresh rate are enabled by default --- copy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'copy.sh') diff --git a/copy.sh b/copy.sh index f743d886..9731e3fe 100755 --- a/copy.sh +++ b/copy.sh @@ -54,7 +54,7 @@ if lspci -k | grep -A 2 -E "(VGA|3D)" | grep -iq nvidia; then sed -i '/env = __GLX_VENDOR_LIBRARY_NAME,nvidia/s/^#//' config/hypr/UserConfigs/ENVariables.conf sed -i '/env = NVD_BACKEND,direct/s/^#//' config/hypr/UserConfigs/ENVariables.conf # enabling no hardware cursors if nvidia detected - sed -i 's/^\([[:space:]]*no_hardware_cursors[[:space:]]*=[[:space:]]*\)false/\1true/' config/hypr/UserConfigs/UserSettings.conf + sed -i 's/^\([[:space:]]*no_hardware_cursors[[:space:]]*=[[:space:]]*\)2/\1true/' config/hypr/UserConfigs/UserSettings.conf # disabling explicit sync for nvidia for now (Hyprland 0.42.0) #sed -i 's/ explicit_sync = 2/ explicit_sync = 0/' config/hypr/UserConfigs/UserSettings.conf fi @@ -63,7 +63,7 @@ fi if hostnamectl | grep -q 'Chassis: vm'; then echo "System is running in a virtual machine." 2>&1 | tee -a "$LOG" || true # 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 's/^\([[:space:]]*no_hardware_cursors[[:space:]]*=[[:space:]]*\)2/\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 -- cgit v1.2.3 From 072c12be93a183cc5eee329ecda6e691f21e2b53 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 30 Dec 2024 13:19:12 +0900 Subject: updated copy.sh to offer to restore all the files in UserConfigs directory --- copy.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'copy.sh') diff --git a/copy.sh b/copy.sh index 9731e3fe..03a4226c 100755 --- a/copy.sh +++ b/copy.sh @@ -504,9 +504,16 @@ printf "\n" # restoration of old configs DIRH="hypr" FILES_TO_RESTORE=( - "Monitors.conf" + "ENVariables.conf" + "LaptopDisplay.conf" "Laptops.conf" + "Monitors.conf" + "Startup_Apps.conf" + "UserDecorAnimations.conf" "UserKeybinds.conf" + "UserSettings.conf" + "WindowRules.conf" + "WorkspaceRules.conf" ) DIRPATH=~/.config/"$DIRH" -- cgit v1.2.3