From e553be7e422a88d910391e64abe46b99ca2fa467 Mon Sep 17 00:00:00 2001 From: Jeena Date: Wed, 28 Jan 2026 15:43:16 +0100 Subject: [PATCH] Add gestures, remove magic workspace name --- hypr/autostart.conf | 4 ++-- hypr/hyprland.conf | 16 ++++++++++------ hypr/windowrule.conf | 4 ++-- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/hypr/autostart.conf b/hypr/autostart.conf index 192d9f2..96a1058 100644 --- a/hypr/autostart.conf +++ b/hypr/autostart.conf @@ -3,5 +3,5 @@ exec-once = [workspace 2 silent] thunderbird exec-once = [workspace 2 silent] element-desktop exec-once = [workspace 3 silent] chromium --profile-directory="Default" -exec-once = [workspace special:magic silent] $terminal -exec-once = [workspace special:magic silent] keepassxc +exec-once = [workspace special silent] $terminal +exec-once = [workspace special silent] keepassxc diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 61b1a11..df4e891 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -194,19 +194,23 @@ input { follow_mouse = 0 float_switch_override_focus = 0 - sensitivity = 0 # -1.0 - 1.0, 0 means no modification. + sensitivity = 0.2 # -1.0 - 1.0, 0 means no modification. natural_scroll = true + accel_profile = adaptive touchpad { natural_scroll = true + tap-to-click = true + disable_while_typing = true } } # https://wiki.hyprland.org/Configuring/Variables/#gestures -# gestures { -# workspace_swipe = false -# } +gestures { + gesture = 3, horizontal, workspace + gesture = 3, vertical, dispatcher, togglespecialworkspace +} # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more @@ -257,8 +261,8 @@ bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Example special workspace (scratchpad) -bind = $mainMod, S, togglespecialworkspace, magic -bind = $mainMod SHIFT, S, movetoworkspace, special:magic +bind = $mainMod, S, togglespecialworkspace +bind = $mainMod SHIFT, S, movetoworkspace, special # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 diff --git a/hypr/windowrule.conf b/hypr/windowrule.conf index 7af0edb..80ccd65 100644 --- a/hypr/windowrule.conf +++ b/hypr/windowrule.conf @@ -25,7 +25,7 @@ windowrule { } windowrule { - name = keepassxc-magic + name = keepassxc-special match:class = org.keepassxc.KeePassXC - workspace = special:magic silent + workspace = special silent }