added gestures to hyprland

This commit is contained in:
2025-09-19 15:57:41 +02:00
parent 1b2989c84b
commit 1026fca614
3 changed files with 10 additions and 2 deletions

View File

@@ -107,6 +107,8 @@ input {
natural_scroll = true natural_scroll = true
tap-to-click = true tap-to-click = true
middle_button_emulation = true middle_button_emulation = true
disable_while_typing = true
scroll_factor = 0.7
} }
sensitivity = 0
} }

View File

@@ -1,3 +1,3 @@
monitor = eDP-1, preferred, auto, 1.6, bitdepth, 10, cm, hdr monitor = eDP-1, highres, auto, 1.6, bitdepth, 10, cm, hdr
monitor = , preferred, auto, 1 monitor = , preferred, auto, 1

View File

@@ -87,6 +87,12 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10 bind = $mainMod SHIFT, 0, movetoworkspace, 10
# Gestures
gesture = 3, horizontal, workspace
gesture = 3, down, mod: ALT, close
gesture = 3, up, mod: SUPER, scale: 1.5, fullscreen
gesture = 3, left, mod: SUPER, scale: 1.5, float
# Drag move/resize like desktop # Drag move/resize like desktop
bindm = $mainMod SHIFT, mouse:272, movewindow bindm = $mainMod SHIFT, mouse:272, movewindow
bindm = $mainMod SHIFT, mouse:273, resizewindow bindm = $mainMod SHIFT, mouse:273, resizewindow