feat(nixos): hyprland - gestures

This commit is contained in:
Ryan Yin
2025-10-18 20:02:45 +08:00
parent 74420b4161
commit e8a227dcb7
2 changed files with 11 additions and 5 deletions

View File

@@ -136,3 +136,14 @@ bind = CTRL, Print, exec, hyprshot -m region -o ~/Pictures/Screenshots
bind = CTRL ALT, l, exec, swaylock
bind = $mod SHIFT, x, exec, wlogout
bind = $mod, n, exec, nm-connection-editor # need install network-manager-applet
# Gestures
# ============================================================================
# https://wiki.hypr.land/Configuring/Gestures/
# gesture = fingers, direction, action, options
gesture = 3, horizontal, workspace
gesture = 3, down, mod: ALT, close
gesture = 3, up, mod: SUPER, scale: 1.5, fullscreen

View File

@@ -103,11 +103,6 @@ master {
new_on_top = true
}
# See: https://wiki.hyprland.org/Configuring/Variables
gestures {
workspace_swipe = off
}
#-- Input ----------------------------------------------------
# Configure mouse and touchpad here.
input {