mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 23:11:34 +01:00
hyprland: Fix window bounders
This commit is contained in:
parent
236ca452d6
commit
842d8a518f
1 changed files with 9 additions and 5 deletions
|
|
@ -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:.*"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue