sway: vertical swiping for workspaces

This commit is contained in:
Aly Raffauf 2024-08-17 17:23:27 -04:00
parent 1cba1f10fd
commit 1fbef53792
2 changed files with 9 additions and 5 deletions

View file

@ -45,7 +45,7 @@
- SUPER + {1..9}: Switch to numbered workspace. - SUPER + {1..9}: Switch to numbered workspace.
- SUPER + Comma: Switch to previous numbered workspace. - SUPER + Comma: Switch to previous numbered workspace.
- SUPER + Period: Switch to next numbered workspace. - SUPER + Period: Switch to next numbered workspace.
- TOUCHPAD: 3 Finger Swipe Left/Right. - TOUCHPAD: 3 Finger Swipe Left/Up or Right/Down.
#### Multi-Monitor Workspace Management #### Multi-Monitor Workspace Management

View file

@ -234,16 +234,20 @@ in {
bindsym --locked XF86AudioNext exec ${helpers.media.next} bindsym --locked XF86AudioNext exec ${helpers.media.next}
mode "move" { mode "move" {
bindgesture swipe:right move container to workspace prev; workspace prev
bindgesture swipe:left move container to workspace next; workspace next
bindgesture pinch:inward+up move up
bindgesture pinch:inward+down move down bindgesture pinch:inward+down move down
bindgesture pinch:inward+left move left bindgesture pinch:inward+left move left
bindgesture pinch:inward+right move right bindgesture pinch:inward+right move right
bindgesture pinch:inward+up move up
bindgesture swipe:down move container to workspace prev; workspace prev
bindgesture swipe:left move container to workspace next; workspace next
bindgesture swipe:right move container to workspace prev; workspace prev
bindgesture swipe:up move container to workspace next; workspace next
} }
bindgesture swipe:right workspace prev bindgesture swipe:down workspace prev
bindgesture swipe:left workspace next bindgesture swipe:left workspace next
bindgesture swipe:right workspace prev
bindgesture swipe:up workspace next
bindswitch --reload --locked lid:on exec ${scripts.clamshell} on bindswitch --reload --locked lid:on exec ${scripts.clamshell} on
bindswitch --reload --locked lid:off exec ${scripts.clamshell} off bindswitch --reload --locked lid:off exec ${scripts.clamshell} off