hyprland: use official hide-workspace functionality

This commit is contained in:
SebastianStork 2025-07-15 20:27:42 +02:00
parent 462d811246
commit 491b8f8e6d
2 changed files with 2 additions and 2 deletions

View file

@ -52,8 +52,6 @@
# Switch workspace # Switch workspace
${lib.concatMapStringsSep "\n" (n: '' ${lib.concatMapStringsSep "\n" (n: ''
bind = SUPER, ${toString n}, focusworkspaceoncurrentmonitor, ${toString n} bind = SUPER, ${toString n}, focusworkspaceoncurrentmonitor, ${toString n}
bind = SUPER, ${toString n}, togglespecialworkspace, blank
bind = SUPER, ${toString n}, togglespecialworkspace, blank
bind = SUPER SHIFT, ${toString n}, movetoworkspacesilent, ${toString n} bind = SUPER SHIFT, ${toString n}, movetoworkspacesilent, ${toString n}
'') (lib.range 1 9)} '') (lib.range 1 9)}

View file

@ -62,6 +62,8 @@
key_press_enables_dpms = true; key_press_enables_dpms = true;
}; };
binds.hide_special_on_workspace_change = true;
workspace = [ workspace = [
# No gaps when only one window # No gaps when only one window
"w[tv1], gapsout:0, gapsin:0" "w[tv1], gapsout:0, gapsin:0"