From 0d77d8a0b2a9d883927836525b76e02503e19dcd Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 15 Jun 2024 19:17:35 +0900 Subject: Bump to v2.3, Some hyprland settings adjustments --- config/hypr/UserConfigs/UserSettings.conf | 113 +++++++++++++++++------------- 1 file changed, 64 insertions(+), 49 deletions(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf index 8d137cc8..be4f342d 100644 --- a/config/hypr/UserConfigs/UserSettings.conf +++ b/config/hypr/UserConfigs/UserSettings.conf @@ -3,7 +3,7 @@ # This is where you put your own settings as this will not be touched during update # if the upgrade.sh is used. -# refer to Hyprland wiki for more info https://wiki.hyprland.org/Configuring/Variables +# refer to Hyprland wiki for more info https://wiki.hyprland.org/Configuring/Variables/ # Sourcing colors generated by wallust source = $HOME/.config/hypr/wallust/wallust-hyprland.conf @@ -24,11 +24,12 @@ master { } general { - sensitivity=1.00 - apply_sens_to_raw=1 + sensitivity = 1.00 + border_size = 2 + apply_sens_to_raw = 1 gaps_in = 6 gaps_out = 8 - border_size = 2 + resize_on_border = true col.active_border = $color0 $color2 $color9 $color12 $color15 90deg @@ -37,14 +38,6 @@ general { layout = dwindle } -group { - col.border_active = $color15 - - groupbar { - col.active = $color0 - } -} - decoration { rounding = 10 @@ -56,21 +49,22 @@ decoration { dim_strength = 0.1 dim_special = 0.8 - drop_shadow=true - shadow_range=6 + drop_shadow = true + shadow_range = 6 shadow_render_power = 1 col.shadow = $color12 col.shadow_inactive = 0x50000000 blur { - enabled = true - size = 6 - passes = 2 - ignore_opacity = true - new_optimizations = true - special = true + enabled = true + size = 6 + passes = 2 + ignore_opacity = true + new_optimizations = true + special = true } } + animations { enabled = yes @@ -91,37 +85,57 @@ animations { } input { - kb_layout=us - kb_variant= - kb_model= - kb_options= - kb_rules= - repeat_rate=50 - repeat_delay=300 - numlock_by_default=true - left_handed=false - follow_mouse=true - float_switch_override_focus=false + kb_layout = us + kb_variant = + kb_model = + kb_options = + kb_rules = + repeat_rate = 50 + repeat_delay = 300 + numlock_by_default = true + left_handed = false + follow_mouse = true + float_switch_override_focus = false touchpad { - disable_while_typing=true - natural_scroll=false - clickfinger_behavior=false - middle_button_emulation=true - tap-to-click=true - drag_lock=false + disable_while_typing = true + natural_scroll = false + clickfinger_behavior = false + middle_button_emulation = true + tap-to-click = true + drag_lock = false } + + # below for devices with touchdevice ie. touchscreen + touchdevice { + enabled = true + } + + # below is for table see link above for proper variables + tablet { + transform = 0 + left_handed = 0 + } } gestures { - workspace_swipe=true - workspace_swipe_fingers=3 - workspace_swipe_distance=400 - workspace_swipe_invert=true - workspace_swipe_min_speed_to_force=30 - workspace_swipe_cancel_ratio=0.5 - workspace_swipe_create_new=true - workspace_swipe_forever=true + workspace_swipe = true + workspace_swipe_fingers = 3 + workspace_swipe_distance = 400 + workspace_swipe_invert = true + workspace_swipe_min_speed_to_force = 30 + workspace_swipe_cancel_ratio = 0.5 + workspace_swipe_create_new = true + workspace_swipe_forever = true +} + + +group { + col.border_active = $color15 + + groupbar { + col.active = $color0 + } } misc { @@ -134,6 +148,7 @@ misc { focus_on_activate = false swallow_regex = ^(kitty)$ #disable_autoreload = true + initial_workspace_tracking = 0 } binds { @@ -147,7 +162,7 @@ xwayland { force_zero_scaling = true } -# cursor section for Hyprland v0.41.0 or newer -#cursor { -# enable_hyprcursor = true -#} +# cursor section for Hyprland >= v0.41.0 +cursor { + enable_hyprcursor = true +} -- cgit v1.2.3 From f0c450219a246e22a2aba4c909e64b5eec826795 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 16 Jun 2024 21:46:56 +0900 Subject: updated for -git version --- config/hypr/UserConfigs/UserSettings.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf index be4f342d..604a6feb 100644 --- a/config/hypr/UserConfigs/UserSettings.conf +++ b/config/hypr/UserConfigs/UserSettings.conf @@ -18,7 +18,8 @@ dwindle { } master { - new_is_master=1 + new_is_master=1 # comment this when Hyprland release a new version or you are running the git version + #new_status=master # hyprland upstream or git version (next release maybe v0.41-2 or v0.42) new_on_top=1 mfact = 0.5 } -- cgit v1.2.3 From 1d1101d5d96db905b35d160a5c4199bd26887da9 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 22 Jun 2024 07:33:15 +0900 Subject: updated some settings and copy.sh was also adjusted for the new changes --- config/hypr/UserConfigs/ENVariables.conf | 10 ++++++---- config/hypr/UserConfigs/UserSettings.conf | 2 ++ copy.sh | 4 ++-- 3 files changed, 10 insertions(+), 6 deletions(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/ENVariables.conf b/config/hypr/UserConfigs/ENVariables.conf index ea4af035..679a94e0 100644 --- a/config/hypr/UserConfigs/ENVariables.conf +++ b/config/hypr/UserConfigs/ENVariables.conf @@ -27,22 +27,24 @@ env = MOZ_ENABLE_WAYLAND,1 env = ELECTRON_OZONE_PLATFORM_HINT,auto # NVIDIA -# This is from Hyprland Wiki. As a start, WLR_NO_HARDWARE_CURSORS 1 will be activated if nvidia gpu detected +# This is from Hyprland Wiki. Below will be activated nvidia gpu detected #env = LIBVA_DRIVER_NAME,nvidia #env = __GLX_VENDOR_LIBRARY_NAME,nvidia +#env = NVD_BACKEND,direct + +# additional ENV's for nvidia. Caution, activate with care #env = GBM_BACKEND,nvidia-drm #env = __NV_PRIME_RENDER_OFFLOAD,1 #env = __VK_LAYER_NV_optimus,NVIDIA_only #env = WLR_DRM_NO_ATOMIC,1 -#env = NVD_BACKEND,direct + # FOR VM and POSSIBLY NVIDIA -#env = WLR_NO_HARDWARE_CURSORS,1 +#env = WLR_NO_HARDWARE_CURSORS,1 # On hyprland >v0.41, now configured on variable cursor section #env = WLR_RENDERER_ALLOW_SOFTWARE,1 # nvidia firefox (for hardware acceleration on FF)? # check this post https://github.com/elFarto/nvidia-vaapi-driver#configuration #env = MOZ_DISABLE_RDD_SANDBOX,1 -#env = NVD_BACKEND,direct #env = EGL_PLATFORM,wayland \ No newline at end of file diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf index 604a6feb..04407e9c 100644 --- a/config/hypr/UserConfigs/UserSettings.conf +++ b/config/hypr/UserConfigs/UserSettings.conf @@ -165,5 +165,7 @@ xwayland { # cursor section for Hyprland >= v0.41.0 cursor { + no_hardware_cursors = false enable_hyprcursor = true + warp_on_change_workspace = true } diff --git a/copy.sh b/copy.sh index af51ff6d..e8283488 100755 --- a/copy.sh +++ b/copy.sh @@ -45,15 +45,15 @@ xdg-user-dirs-update 2>&1 | tee -a "$LOG" || true # uncommenting WLR_NO_HARDWARE_CURSORS if nvidia is detected if lspci -k | grep -A 2 -E "(VGA|3D)" | grep -iq nvidia; then echo "Nvidia GPU detected. Setting up proper env's" 2>&1 | tee -a "$LOG" || true - sed -i '/env = WLR_NO_HARDWARE_CURSORS,1/s/^#//' config/hypr/UserConfigs/ENVariables.conf sed -i '/env = LIBVA_DRIVER_NAME,nvidia/s/^#//' config/hypr/UserConfigs/ENVariables.conf 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 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 - sed -i '/env = WLR_NO_HARDWARE_CURSORS,1/s/^#//' config/hypr/UserConfigs/ENVariables.conf + 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 '/monitor = Virtual-1, 1920x1080@60,auto,1/s/^#//' config/hypr/UserConfigs/Monitors.conf fi -- cgit v1.2.3 From a16280730ac5de9f872fb20d96bf7dffa189e8d3 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 22 Jun 2024 10:32:17 +0900 Subject: updated UserSettings.conf --- config/hypr/UserConfigs/UserSettings.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf index 04407e9c..3ec9fa43 100644 --- a/config/hypr/UserConfigs/UserSettings.conf +++ b/config/hypr/UserConfigs/UserSettings.conf @@ -19,7 +19,7 @@ dwindle { master { new_is_master=1 # comment this when Hyprland release a new version or you are running the git version - #new_status=master # hyprland upstream or git version (next release maybe v0.41-2 or v0.42) + #new_status=master # hyprland upstream or git version (next release maybe v0.41.2 or v0.42) new_on_top=1 mfact = 0.5 } @@ -160,12 +160,12 @@ binds { #Could help when scaling and not pixelating xwayland { - force_zero_scaling = true + force_zero_scaling = true } # cursor section for Hyprland >= v0.41.0 cursor { no_hardware_cursors = false - enable_hyprcursor = true - warp_on_change_workspace = true + enable_hyprcursor = true + warp_on_change_workspace = true # for -git or Hyprland >v0.41.1 } -- cgit v1.2.3 From 3b203a29ebfc7e188f3f189fe716e9db95ad9c96 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 23 Jun 2024 08:55:15 +0900 Subject: updated / tweak Hyprland settings --- config/hypr/UserConfigs/UserSettings.conf | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf index 3ec9fa43..bfee77aa 100644 --- a/config/hypr/UserConfigs/UserSettings.conf +++ b/config/hypr/UserConfigs/UserSettings.conf @@ -18,8 +18,8 @@ dwindle { } master { - new_is_master=1 # comment this when Hyprland release a new version or you are running the git version - #new_status=master # hyprland upstream or git version (next release maybe v0.41.2 or v0.42) + #new_is_master=1 # comment this when Hyprland release a new version or you are running the git version + new_status=master # hyprland upstream or git version (next release maybe v0.41-2 or v0.42) new_on_top=1 mfact = 0.5 } @@ -122,12 +122,13 @@ input { gestures { workspace_swipe = true workspace_swipe_fingers = 3 - workspace_swipe_distance = 400 + workspace_swipe_distance = 500 workspace_swipe_invert = true workspace_swipe_min_speed_to_force = 30 workspace_swipe_cancel_ratio = 0.5 workspace_swipe_create_new = true workspace_swipe_forever = true + #workspace_swipe_use_r = true #uncomment if wanted a forever create a new workspace with swipe right } @@ -150,12 +151,13 @@ misc { swallow_regex = ^(kitty)$ #disable_autoreload = true initial_workspace_tracking = 0 + middle_click_paste = false } binds { - workspace_back_and_forth=true - allow_workspace_cycles=true - pass_mouse_when_bound=false + workspace_back_and_forth = true + allow_workspace_cycles = true + pass_mouse_when_bound = false } #Could help when scaling and not pixelating -- cgit v1.2.3 From 3f39a12eb1eafcc5f054c5411905bf000e96c8ef Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 23 Jun 2024 19:14:47 +0900 Subject: added vfr --- config/hypr/UserConfigs/UserSettings.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config/hypr/UserConfigs') diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf index bfee77aa..fe5e92f0 100644 --- a/config/hypr/UserConfigs/UserSettings.conf +++ b/config/hypr/UserConfigs/UserSettings.conf @@ -143,13 +143,13 @@ group { misc { disable_hyprland_logo = true disable_splash_rendering = true - mouse_move_enables_dpms = true + vfr = true #vrr = 0 + mouse_move_enables_dpms = true enable_swallow = true - no_direct_scanout = true #for fullscreen games - focus_on_activate = false swallow_regex = ^(kitty)$ - #disable_autoreload = true + focus_on_activate = false + no_direct_scanout = true #for fullscreen games initial_workspace_tracking = 0 middle_click_paste = false } -- cgit v1.2.3