config: support <margin top="" bottom="" left="" right="" output="" />

This commit is contained in:
Johan Malm 2023-06-06 19:52:57 +01:00 committed by Johan Malm
parent 3a9dcd54a7
commit 4a531daef8
5 changed files with 97 additions and 0 deletions

View file

@ -239,6 +239,12 @@ Therefore, where multiple objects of the same kind are required (for example
*<theme><font place=""><weight>*
Font weight (normal or bold). Default is normal.
## MARGIN
*<margin top="" bottom="" left="" right="" output="" />*
Specify the number of pixels to reserve at the edges of an output.
New, maximized and tiled windows will not be placed in these areas.
## KEYBOARD
*<keyboard><keybind key="">*

View file

@ -93,6 +93,17 @@
</names>
</desktops>
<!--
# <margin> can be used to reserve space where new/maximized/tiled
# windows will not be placed. Clients using layer-shell protocol reserve
# space automatically, so <margin> is only intended for other, specialist
# cases.
#
# If output is left empty, the margin will be applied to all outputs.
<margin top="" bottom="" left="" right="" output="" />
-->
<!-- Percent based regions based on output usable area, % char is required -->
<!--
<regions>