From 0c3525302bbd90ba09c483edbc28968b8b211e59 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sat, 27 Apr 2024 15:05:02 -0400 Subject: [PATCH] sway: added gestures for move mode --- homeManagerModules/desktop/sway/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/homeManagerModules/desktop/sway/default.nix b/homeManagerModules/desktop/sway/default.nix index 319d48ba..cb800321 100644 --- a/homeManagerModules/desktop/sway/default.nix +++ b/homeManagerModules/desktop/sway/default.nix @@ -364,6 +364,15 @@ }; wayland.windowManager.sway.extraConfig = '' + mode "move" { + bindgesture swipe:right move container to workspace prev; workspace prev + bindgesture swipe:left move container to workspace next; workspace next + bindgesture pinch:inward+up move up + bindgesture pinch:inward+down move down + bindgesture pinch:inward+left move left + bindgesture pinch:inward+right move right + } + bindgesture swipe:right workspace prev bindgesture swipe:left workspace next