hyprland: Fix window bounders

This commit is contained in:
SebastianStork 2025-08-20 14:48:36 +02:00
parent 236ca452d6
commit 842d8a518f

View file

@ -65,10 +65,8 @@
binds.hide_special_on_workspace_change = true; binds.hide_special_on_workspace_change = true;
workspace = [ workspace = [
# No border when only one window # No gaps when only one window
"w[1], bordersize:0" "w[t1]s[false], gapsout:0, gapsin:0"
# No gaps and no rounding on regular workspaces when only one window
"w[t1]s[false], gapsout:0, gapsin:0, rounding:0"
# Large gaps on special workspaces # Large gaps on special workspaces
"s[true], gapsout:30" "s[true], gapsout:30"
@ -78,7 +76,13 @@
"special:monitor, on-created-empty:kitty btm" "special:monitor, on-created-empty:kitty btm"
"special:files, on-created-empty:nemo" "special:files, on-created-empty:nemo"
]; ];
windowrule = [ "idleinhibit fullscreen, class:.*" ]; windowrule = [
# No borders when only one window
"bordersize 0, floating:0, onworkspace:w[t1]"
"rounding 0, floating:0, onworkspace:w[t1]s[false]"
"idleinhibit fullscreen, class:.*"
];
}; };
}; };
} }