Add three-finger swipe to switch workspaces
bindgesture swipe:3:left/right -> workspace next_on_output/prev_on_output, keeping swipes confined to the current monitor's workspace block. Verified against installed sway 1.12 with 'sway -C'.
This commit is contained in:
@@ -40,6 +40,12 @@ bindsym $mod+Shift+8 exec $workspace_script 8 move
|
|||||||
bindsym $mod+Shift+9 exec $workspace_script 9 move
|
bindsym $mod+Shift+9 exec $workspace_script 9 move
|
||||||
bindsym $mod+Shift+0 exec $workspace_script 10 move
|
bindsym $mod+Shift+0 exec $workspace_script 10 move
|
||||||
|
|
||||||
|
# Three-finger touchpad swipe to switch workspaces. *_on_output keeps the
|
||||||
|
# swipe confined to the current monitor's block of workspaces (see
|
||||||
|
# scripts/select-workspace.sh) instead of jumping to the other monitor's.
|
||||||
|
bindgesture swipe:3:left workspace next_on_output
|
||||||
|
bindgesture swipe:3:right workspace prev_on_output
|
||||||
|
|
||||||
bindsym $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy --type image/png
|
bindsym $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy --type image/png
|
||||||
bindsym Print exec grim -g "$(slurp)" - | wl-copy --type image/png
|
bindsym Print exec grim -g "$(slurp)" - | wl-copy --type image/png
|
||||||
bindsym Shift+Print exec grim "$HOME/Pictures/screenshot-$(date +%F-%H%M%S).png"
|
bindsym Shift+Print exec grim "$HOME/Pictures/screenshot-$(date +%F-%H%M%S).png"
|
||||||
|
|||||||
Reference in New Issue
Block a user