mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
hyprland: use official hide-workspace functionality
This commit is contained in:
parent
462d811246
commit
491b8f8e6d
2 changed files with 2 additions and 2 deletions
|
|
@ -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)}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue