From 77405a5d220195cc0529aaf0ef922fc17f73109a Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Thu, 14 Sep 2023 13:50:37 +0200 Subject: [PATCH] add bindgesture --- dot_config/sway/executable_config.tmpl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dot_config/sway/executable_config.tmpl b/dot_config/sway/executable_config.tmpl index a9572b0..e56d579 100644 --- a/dot_config/sway/executable_config.tmpl +++ b/dot_config/sway/executable_config.tmpl @@ -70,6 +70,16 @@ bindsym $mod+Shift+Down move down bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right +# Allow switching between workspaces with left and right swipes +bindgesture swipe:right workspace next +bindgesture swipe:left workspace prev + +# Allow container movements by pinching them +bindgesture pinch:inward+up move up +bindgesture pinch:inward+down move down +bindgesture pinch:inward+left move left +bindgesture pinch:inward+right move right + # split in horizontal orientation bindsym $mod+h split h