From 5eca39a8d325b8df34d17a630f755fd7881175fb Mon Sep 17 00:00:00 2001 From: Ohad Livne Date: Thu, 3 Jul 2025 00:26:28 +0300 Subject: [PATCH] Bind touchpad swipes to workspace navigation --- .config/sway/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/sway/config b/.config/sway/config index 2c2316b..483fc87 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -160,6 +160,10 @@ input type:touchpad { bindsym $wm_mod+Shift+0 move container to workspace number 10 # Note: workspaces can have any name you want, not just numbers. # We just use 1-10 as the default. + + # Navigate between workspaces using the touchpad + bindgesture --exact swipe:3:left workspace prev + bindgesture --exact swipe:3:right workspace next # # Layout stuff: #