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

@ -3,5 +3,5 @@ exec-once = [workspace 2 silent] thunderbird
exec-once = [workspace 2 silent] element-desktop exec-once = [workspace 2 silent] element-desktop
exec-once = [workspace 3 silent] chromium --profile-directory="Default" exec-once = [workspace 3 silent] chromium --profile-directory="Default"
exec-once = [workspace special:magic silent] $terminal exec-once = [workspace special silent] $terminal
exec-once = [workspace special:magic silent] keepassxc exec-once = [workspace special silent] keepassxc

View file

@ -194,19 +194,23 @@ input {
follow_mouse = 0 follow_mouse = 0
float_switch_override_focus = 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 natural_scroll = true
accel_profile = adaptive
touchpad { touchpad {
natural_scroll = true natural_scroll = true
tap-to-click = true
disable_while_typing = true
} }
} }
# https://wiki.hyprland.org/Configuring/Variables/#gestures # https://wiki.hyprland.org/Configuring/Variables/#gestures
# gestures { gestures {
# workspace_swipe = false gesture = 3, horizontal, workspace
# } gesture = 3, vertical, dispatcher, togglespecialworkspace
}
# Example per-device config # Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more # 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 bind = $mainMod SHIFT, 0, movetoworkspace, 10
# Example special workspace (scratchpad) # Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod, S, togglespecialworkspace
bind = $mainMod SHIFT, S, movetoworkspace, special:magic bind = $mainMod SHIFT, S, movetoworkspace, special
# Scroll through existing workspaces with mainMod + scroll # Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_down, workspace, e+1

View file

@ -25,7 +25,7 @@ windowrule {
} }
windowrule { windowrule {
name = keepassxc-magic name = keepassxc-special
match:class = org.keepassxc.KeePassXC match:class = org.keepassxc.KeePassXC
workspace = special:magic silent workspace = special silent
} }