From 4d063a44f4dcba37971277b7e2c43c936ec478b8 Mon Sep 17 00:00:00 2001 From: thek4n Date: Fri, 28 Nov 2025 10:18:08 +0300 Subject: [PATCH] gesture --- home/user/.config/sway/bindings.conf | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/home/user/.config/sway/bindings.conf b/home/user/.config/sway/bindings.conf index 7ccd2e5..e9ed06d 100644 --- a/home/user/.config/sway/bindings.conf +++ b/home/user/.config/sway/bindings.conf @@ -86,7 +86,7 @@ bindsym --to-code Shift+$mod+Print exec --no-startup-id screenshot window save bindsym --to-code Shift+Ctrl+Print exec --no-startup-id screenshot entire save -bindsym --to-code $mod+q exec swaymsg workspace hide1; workspace hide2 +bindsym --to-code $mod+q workspace hide1; workspace hide2 bindsym $mod+Shift+minus move scratchpad @@ -191,6 +191,12 @@ input type:touchpad { drag_lock disabled } -bindgesture swipe:3:right workspace next -bindgesture swipe:3:left workspace prev -bindgesture swipe:3:up exec $menu +bindgesture swipe:4:right workspace next +bindgesture swipe:4:left workspace prev +bindgesture swipe:4:up exec $menu +bindgesture swipe:4:down workspace hide1; workspace hide2 + +bindgesture swipe:3:right focus right +bindgesture swipe:3:left focus left +bindgesture swipe:3:up focus up +bindgesture swipe:3:down focus down