hyprland: add hyprspace overview, rebind launcher to Super+R

Loads hyprlandPlugins.hyprspace via the home-manager plugins list and
binds overview:toggle to release-of-Super. Frees Super+Space and moves
wofi to Super+R to match the new gesture.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-05-11 09:49:09 +01:00
parent c96e532e4f
commit 2494c4c785

View file

@ -57,6 +57,8 @@
enable = true; enable = true;
systemd.variables = [ "--all" ]; systemd.variables = [ "--all" ];
plugins = [ pkgs.hyprlandPlugins.hyprspace ];
settings = { settings = {
monitor = ",preferred,auto,1"; monitor = ",preferred,auto,1";
@ -111,11 +113,22 @@
focus_on_activate = true; focus_on_activate = true;
}; };
# Hyprspace overview plugin — see README for full option set
plugin.overview = {
centerAligned = true;
hideTopLayers = true;
hideOverlayLayers = true;
showNewWorkspace = true;
exitOnClick = true;
exitOnSwitch = true;
dragAlpha = 0.8;
};
# Mirror the GNOME bindings so muscle memory carries over # Mirror the GNOME bindings so muscle memory carries over
bind = [ bind = [
"$mod, T, exec, $term" "$mod, T, exec, $term"
"$mod, E, exec, nautilus" "$mod, E, exec, nautilus"
"$mod, SPACE, exec, $menu" "$mod, R, exec, $menu"
"$mod, Q, killactive" "$mod, Q, killactive"
"$mod SHIFT, E, exit" "$mod SHIFT, E, exit"
@ -177,6 +190,15 @@
"$mod, mouse:273, resizewindow" "$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.
bindr = [
"SUPER, SUPER_L, overview:toggle"
];
bindel = [ bindel = [
", XF86AudioRaiseVolume, exec, pamixer -i 5" ", XF86AudioRaiseVolume, exec, pamixer -i 5"
", XF86AudioLowerVolume, exec, pamixer -d 5" ", XF86AudioLowerVolume, exec, pamixer -d 5"