From db71e15904ed197824982f15d1264745fd0d08de Mon Sep 17 00:00:00 2001 From: ediblerope Date: Mon, 11 May 2026 10:03:20 +0100 Subject: [PATCH] hyprland: move overview to Super+Space, drop bindr trick Bare-Super tap detection didn't actually trigger Hyprspace, and the SUPER_L release-bind was firing on every combo release anyway. A plain combo bind sidesteps both problems; Super+Space is free since the launcher moved to Super+R. Co-Authored-By: Claude Opus 4.7 --- settings/hyprland.nix | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index aa7537e..476d9bb 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -164,6 +164,10 @@ "$mod, P, pseudo" "$mod, S, togglesplit" + # Hyprspace overview — routed via hyprctl because home-manager + # loads the plugin in exec-once, after config parse. + "$mod, SPACE, exec, hyprctl dispatch overview:toggle" + # Focus "$mod, left, movefocus, l" "$mod, right, movefocus, r" @@ -216,19 +220,6 @@ "$mod, mouse:273, resizewindow" ]; - # Tap Super → Hyprspace overview. Hyprland can't truly distinguish - # tap vs. hold on a modifier, so this also fires when releasing - # Super after any combo (e.g. Super+T) — the overview will flash - # briefly. If that's annoying, switch to a regular combo bind, or - # use keyd to remap Super-tap to a dedicated keycode. - # - # Routed through `exec, hyprctl dispatch` because home-manager loads - # plugins via exec-once, after the config is parsed — referring to - # overview:toggle directly here would fail with "invalid dispatcher". - bindr = [ - "SUPER, SUPER_L, exec, hyprctl dispatch overview:toggle" - ]; - bindel = [ ", XF86AudioRaiseVolume, exec, pamixer -i 5" ", XF86AudioLowerVolume, exec, pamixer -d 5"