From a795dff97f22a455ac2f038036007931e3aaf280 Mon Sep 17 00:00:00 2001 From: Tristan Date: Mon, 24 Jul 2023 22:11:52 +0100 Subject: [PATCH] hyprland gesture fix --- lib/modules/wayland.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/lib/modules/wayland.nix b/lib/modules/wayland.nix index 3f0aa2c..b389449 100644 --- a/lib/modules/wayland.nix +++ b/lib/modules/wayland.nix @@ -67,17 +67,17 @@ in bindm = SUPER, mouse:272, movewindow bindm = SUPER, mouse:273, resizewindow - bind = SUPER, j, layoutmsg,cyclenext - bind = SUPER, k, layoutmsg,cycleprev - bind = SUPER, space, layoutmsg,swapwithmaster master + bind = SUPER, j, layoutmsg,cyclenext + bind = SUPER, k, layoutmsg,cycleprev + bind = SUPER, space, layoutmsg,swapwithmaster master bind = SUPER_SHIFT, k, layoutmsg, orientationtop bind = SUPER_SHIFT, h, layoutmsg, orientationleft - bind = SUPER, F, fullscreen, - bind = SUPER, V, togglefloating, - bind = SUPER_SHIFT, V, togglegroup, + bind = SUPER, F, fullscreen, + bind = SUPER, V, togglefloating, + bind = SUPER_SHIFT, V, togglegroup, bind = SUPER_SHIFT, space, changegroupactive,n - bind = SUPER, Y, togglespecialworkspace - bind = SUPER_SHIFT, Y, movetoworkspace, special + bind = SUPER, Y, togglespecialworkspace + bind = SUPER_SHIFT, Y, movetoworkspace, special bind = SUPER,1,workspace,1 bind = SUPER,2,workspace,2 @@ -103,6 +103,7 @@ in gestures { workspace_swipe = yes + workspace_swipe_numbered = yes } decoration { @@ -136,6 +137,7 @@ in misc { vrr = 2 + focus_on_activate = yes } ''; };