From e6791d0a1f88db50bccda87cc6bdcbab5160085b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20K=C3=A4nner?= Date: Mon, 29 Sep 2025 17:35:23 +0200 Subject: [PATCH] 687 current 1970-01-01 01:00:00 25.05.20250901.7c815e5 6.12.44 * --- modules/home/sway/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/home/sway/default.nix b/modules/home/sway/default.nix index 287cd18..aba738f 100644 --- a/modules/home/sway/default.nix +++ b/modules/home/sway/default.nix @@ -9,20 +9,20 @@ rotate_lisgd = pkgs.writeShellScriptBin "rotate_lisgd" '' # PREV_ORIENTATION and ORIENTATION are given by rot8 - LISGD_INPUT=/dev/input/event14 + LISGD_INPUT=/dev/input/by-path/platform-AMDI0010:02-event # open nwggrid by swiping up from the bottom edge - LISGD_ACTIONS=("1,DU,B,*,R,${pkgs.sway}/bin/swaymsg exec ${pkgs.nwg-launchers}/bin/nwggrid -client") + LISGD_ACTIONS=("3,UD,*,*,R,${pkgs.sway}/bin/swaymsg exec ${pkgs.nwg-launchers}/bin/nwggrid -client") # close window by swiping down with 3 fingers - LISGD_ACTIONS+=("3,UD,*,L,R,${pkgs.sway}/bin/swaymsg kill") + LISGD_ACTIONS+=("3,DU,*,L,R,${pkgs.sway}/bin/swaymsg kill") # move window left by swiping left with 2 fingers - LISGD_ACTIONS+=("2,UD,*,*,R,${pkgs.sway}/bin/swaymsg move left") + LISGD_ACTIONS+=("2,RL,*,*,R,${pkgs.sway}/bin/swaymsg move left") # move window down by swiping down with 2 fingers LISGD_ACTIONS+=("2,UD,*,*,R,${pkgs.sway}/bin/swaymsg move down") # move window up by swiping up with 2 fingers - LISGD_ACTIONS+=("2,UD,*,*,R,${pkgs.sway}/bin/swaymsg move up") + LISGD_ACTIONS+=("2,DU,*,*,R,${pkgs.sway}/bin/swaymsg move up") # move window right by swiping right with 2 fingers - LISGD_ACTIONS+=("2,UD,*,*,R,${pkgs.sway}/bin/swaymsg move right") + LISGD_ACTIONS+=("2,LR,*,*,R,${pkgs.sway}/bin/swaymsg move right") LISGD_ACTION_OPTIONS=() for str in "''${LISGD_ACTIONS[@]}"; do