From 5b0b5b246ba6d06ee3b26346790dbb57f9e1d77d Mon Sep 17 00:00:00 2001 From: rope Date: Tue, 21 Jul 2026 12:35:06 +0100 Subject: [PATCH] hyprland: fix 3-finger swipe, old workspace_swipe keys gone in 0.55, use hl.gesture --- settings/hyprland.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index b58e0c3..306dd3b 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -162,12 +162,6 @@ in scroll_event_delay = 50; }; - gestures = { - workspace_swipe = true; - workspace_swipe_fingers = 3; - workspace_swipe_forever = true; - }; - cursor = { no_warps = true; }; @@ -333,6 +327,11 @@ in hl.bind(mod .. " + mouse_down", hl.dsp.focus({ workspace = "e+1" })) hl.bind(mod .. " + mouse_up", hl.dsp.focus({ workspace = "e-1" })) + ${lib.optionalString isMacbook '' + -- Three-finger touchpad swipe between workspaces + hl.gesture({ fingers = 3, direction = "horizontal", action = "workspace" }) + ''} + -- Screenshots — Shift+Super+S matches GNOME binding -- Pin/unpin quickshell's focus grab around the region select so an -- open menu survives slurp's input grab (no-ops if qs isn't up).