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:
parent
c96e532e4f
commit
2494c4c785
1 changed files with 23 additions and 1 deletions
|
|
@ -57,6 +57,8 @@
|
|||
enable = true;
|
||||
systemd.variables = [ "--all" ];
|
||||
|
||||
plugins = [ pkgs.hyprlandPlugins.hyprspace ];
|
||||
|
||||
settings = {
|
||||
monitor = ",preferred,auto,1";
|
||||
|
||||
|
|
@ -111,11 +113,22 @@
|
|||
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
|
||||
bind = [
|
||||
"$mod, T, exec, $term"
|
||||
"$mod, E, exec, nautilus"
|
||||
"$mod, SPACE, exec, $menu"
|
||||
"$mod, R, exec, $menu"
|
||||
"$mod, Q, killactive"
|
||||
"$mod SHIFT, E, exit"
|
||||
|
||||
|
|
@ -177,6 +190,15 @@
|
|||
"$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 = [
|
||||
", XF86AudioRaiseVolume, exec, pamixer -i 5"
|
||||
", XF86AudioLowerVolume, exec, pamixer -d 5"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue