mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
hyprland: Fix window border on solo floating window
This commit is contained in:
parent
8b9e37c7ed
commit
7d8a4e50cc
1 changed files with 7 additions and 4 deletions
|
|
@ -65,9 +65,9 @@
|
|||
binds.hide_special_on_workspace_change = true;
|
||||
|
||||
workspace = [
|
||||
# No gaps when only one window
|
||||
"w[t1]s[false], gapsout:0, gapsin:0"
|
||||
# Large gaps on special workspaces
|
||||
# No outer gaps when only one tiled window on normal workspaces
|
||||
"w[t1]s[false], gapsout:0"
|
||||
# Large outer gaps on special workspaces
|
||||
"s[true], gapsout:30"
|
||||
|
||||
"special:music, on-created-empty:spotify"
|
||||
|
|
@ -77,8 +77,11 @@
|
|||
"special:files, on-created-empty:nemo"
|
||||
];
|
||||
windowrule = [
|
||||
# No borders when only one window
|
||||
# No borders on floating window when it's the only window
|
||||
"bordersize 0, floating:1, onworkspace:w[1]"
|
||||
# No borders on tiled window when it's the only tiled window
|
||||
"bordersize 0, floating:0, onworkspace:w[t1]"
|
||||
# No rounding on tiled window when it's the only tiled window on a normal workspace
|
||||
"rounding 0, floating:0, onworkspace:w[t1]s[false]"
|
||||
|
||||
"idleinhibit fullscreen, class:.*"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue