From f72c504afdc137e9a5878df4288c5be43c4978b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Mon, 17 Feb 2025 10:17:28 +0100 Subject: [PATCH] Add sway swipe gestures --- symlinks/config/sway/conf.d/02_wmkeybind | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/symlinks/config/sway/conf.d/02_wmkeybind b/symlinks/config/sway/conf.d/02_wmkeybind index 83074be..838218f 100644 --- a/symlinks/config/sway/conf.d/02_wmkeybind +++ b/symlinks/config/sway/conf.d/02_wmkeybind @@ -59,3 +59,13 @@ bindsym $mod+Shift+minus move scratchpad bindsym $mod+minus scratchpad show bindsym $mod+t layout toggle tabbed split + +# Swipe to swap workspaces +bindgesture swipe:right workspace prev +bindgesture swipe:left workspace next + +# 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