Add gestures, remove magic workspace name

This commit is contained in:
Jeena 2026-01-28 15:43:16 +01:00
parent 94dfc20b24
commit e553be7e42
3 changed files with 14 additions and 10 deletions

View file

@ -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