support four-sided padding (top/right/bottom/left)

This commit is contained in:
pi66 2025-12-19 12:17:29 +01:00
parent 4e96780eef
commit e133122147
6 changed files with 70 additions and 29 deletions

View file

@ -301,9 +301,20 @@ empty string to be set, but it must be quoted: *KEY=""*)
```
_XxY_ [center | center-when-fullscreen | center-when-maximized-and-fullscreen]
```
or
```
RIGHTxTOPxLEFTxBOTTOM [center | center-when-fullscreen | center-when-maximized-and-fullscreen]
```
This will add _at least_ X pixels on both the left and right
sides, and Y pixels on the top and bottom sides.
- `_XxY_` adds _at least_:
- X pixels on the left and right sides.
- Y pixels on the top and bottom sides.
- `RIGHTxTOPxLEFTxBOTTOM` adds **at least**:
- TOP pixels to the top
- BOTTOM pixels to the bottom
- LEFT pixels to the left
- RIGHT pixels to the right
When no centering is specified, the grid content is anchored to
the top left corner. I.e. if the window manager forces an odd