commit 60ed23f55153acad5f107a175b9e063a0c7361b4
parent cbc9ebad5ac5323a48a77881f109993ccaf1988f
Author: Chris <chris@echoz.io>
Date: Mon, 23 Feb 2026 05:07:23 +0100
fix(hyprland): special workspace btop
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/hypr/hyprland.nix b/modules/hypr/hyprland.nix
@@ -122,14 +122,13 @@
};
workspace = (builtins.genList (n: "${toString (n + 1)}, persistent:true") 9) ++ [
- "special:special, on-created-empty:${
+ "special:special, on-created-empty:[workspace special:special; float] ${
pkgs.writeShellScript "init-empty-special-workspace" ''
settings=(
"--override" "initial_window_width=160c"
"--override" "initial_window_height=48c"
)
- hyprctl dispatch exec "[workspace special:special; group new; float] uwsm app -- kitty ''${settings[*]}"
- hyprctl dispatch exec "[workspace special:special; group; float] uwsm app -- kitty ''${settings[*]} btop"
+ uwsm app -- kitty "''${settings[@]}" btop
''
}"
];
@@ -187,6 +186,7 @@
windowrule = [
"animation popin 100%, match:group on"
+ "float on, match:workspace special:special"
"workspace 4 silent, match:class ^steam$"
"workspace 2 silent, match:class ^steam_app_[0-9]+$"
"workspace 5 silent, match:class ^firefox$"