From e45cee6ad907fd11c032999952c45a9caf3297c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=AAs?= Date: Fri, 15 Nov 2024 12:46:11 -0300 Subject: [PATCH] Add extra gesture examples for workspace and focus navigation Add examples for `bindgesture` using 3- and 4-finger swipes to navigate workspaces and focus containers --- sway/sway.5.scd | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/sway/sway.5.scd b/sway/sway.5.scd index bb958ebfd..88c7cc0f6 100644 --- a/sway/sway.5.scd +++ b/sway/sway.5.scd @@ -559,6 +559,18 @@ runtime. bindgesture swipe:right workspace prev bindgesture swipe:left workspace next + # Allow switching between workspaces with left and right three four swipes swipes + + bindgesture swipe:4:right workspace prev + bindgesture swipe:4:left workspace next + + # Allow switching focus with three finger swipes + + bindgesture swipe:3:right focus right + bindgesture swipe:3:left focus left + bindgesture swipe:3:up focus up + bindgesture swipe:3:down focus down + # Allow container movements by pinching them bindgesture pinch:inward+up move up bindgesture pinch:inward+down move down