From 7c6907f077839fe4052e9dfabd51e3f3351ac060 Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Mon, 23 Feb 2026 18:41:30 +0100 Subject: [PATCH] fix hypr gestures --- home-modules/hyprland.nix | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/home-modules/hyprland.nix b/home-modules/hyprland.nix index b12be83..d9f5982 100644 --- a/home-modules/hyprland.nix +++ b/home-modules/hyprland.nix @@ -187,19 +187,19 @@ in { ]; }; - # gestures = { - # workspace_swipe = true; - # workspace_swipe_fingers = "4"; - # workspace_swipe_distance = "300"; - # workspace_swipe_invert = true; - # workspace_swipe_min_speed_to_force = "30"; - # workspace_swipe_cancel_ratio = "0.5"; - # workspace_swipe_create_new = false; - # workspace_swipe_direction_lock = false; - # workspace_swipe_direction_lock_threshold = "10"; - # workspace_swipe_forever = true; - # workspace_swipe_use_r = false; - # }; + gestures = { + workspace_swipe_distance = "300"; + # workspace_swipe_touch = true; + workspace_swipe_invert = true; + # workspace_swipe_touch_invert = true; + workspace_swipe_min_speed_to_force = "30"; + workspace_swipe_cancel_ratio = "0.5"; + workspace_swipe_create_new = false; + workspace_swipe_direction_lock = false; + workspace_swipe_direction_lock_threshold = "10"; + workspace_swipe_forever = true; + workspace_swipe_use_r = false; + }; gesture = [ @@ -232,6 +232,7 @@ in { "fcitx5" # "ibus engine xkb:de::deu" "libinput-gestures" + "systemctl --user start hyprpanel" # "hyprswitch --daemon" ]; @@ -491,6 +492,10 @@ in { # "SUPER, TAB, exec, hyprswitch --daemon --do-initial-execute" "SUPER, Next, resizeactive, 10% 10%" "SUPER, Prior, resizeactive, -10% -10%" + "SUPER ALT, j, resizeactive, 0% 10%" + "SUPER ALT, k, resizeactive, 0% -10%" + "SUPER ALT, l, resizeactive, 10% -10%" + "SUPER ALT, h, resizeactive, -10% 0%" ]; plugin = { overview = {