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 --- config/hypr/UserConfigs/Monitors.conf | 14 +++++++------- config/hypr/UserConfigs/UserSettings.conf | 10 +++++----- copy.sh | 4 ++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/config/hypr/UserConfigs/Monitors.conf b/config/hypr/UserConfigs/Monitors.conf index f4b313d7..efb47cb5 100644 --- a/config/hypr/UserConfigs/Monitors.conf +++ b/config/hypr/UserConfigs/Monitors.conf @@ -8,11 +8,17 @@ # Monitors monitor=,preferred,auto,1 +# High Refresh Rate +monitor=,highrr,auto,1 + +# High Resolution +monitor=,highres,auto,1 + # NOTE: for laptop, kindly check notes in Laptops.conf regarding display # Created this inorder for the monitor display to not wake up if not intended. # See here: https://github.com/hyprwm/Hyprland/issues/4090 -# Some examples +# Some examples to set your own monitor #monitor = eDP-1, preferred, auto, 1 #monitor = eDP-1, 2560x1440@165, 0x0, 1 #own screen #monitor = DP-3, 1920x1080@240, auto, 1 @@ -22,12 +28,6 @@ monitor=,preferred,auto,1 # QEMU-KVM, virtual box or vmware #monitor = Virtual-1, 1920x1080@60,auto,1 -# High Refresh Rate -#monitor=,highrr,auto,1 - -# High Resolution -#monitor=,highres,auto,1 - # to disable a monitor #monitor=name,disable diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf index ae0ab4b2..dfca157d 100644 --- a/config/hypr/UserConfigs/UserSettings.conf +++ b/config/hypr/UserConfigs/UserSettings.conf @@ -94,12 +94,11 @@ misc { disable_hyprland_logo = true disable_splash_rendering = true vfr = true - #vrr = 0 + vrr = 2 mouse_move_enables_dpms = true enable_swallow = true swallow_regex = ^(kitty)$ focus_on_activate = false - #no_direct_scanout = true #for fullscreen games - deprecated initial_workspace_tracking = 0 middle_click_paste = false } @@ -128,8 +127,9 @@ render { } cursor { - no_hardware_cursors = false + sync_gsettings_theme = true + no_hardware_cursors = 2 enable_hyprcursor = true - warp_on_change_workspace = true + warp_on_change_workspace = 2 no_warps = true -} +} \ No newline at end of file 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