add smart gaps to maximised windows (#803)

Co-authored-by: Rehan Daphedar <mail@rehandaphedar.com>
This commit is contained in:
Rehan Daphedar 2024-10-12 19:56:11 +05:30 committed by GitHub
parent 0f24a94d5c
commit c0dd4baf90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,10 +55,17 @@ workspace = w[tg1-4], shadow:false
#### Smart gaps
To replicate "smart gaps" / "no gaps when only", from other WMs/Compositors, use
To replicate "smart gaps" / "no gaps when only" from other WMs/Compositors, use
```ini
workspace = w[tg1], gapsout:0, border: 0, rounding:0
workspace = w[t1], gapsout:0, gapsin:0, border: 0, rounding:0
workspace = w[tg1], gapsout:0, gapsin:0, border: 0, rounding:0
```
If you want no gaps when a window is maximised (but not fullscreen), add this rule as well
```ini
workspace = f[1], gapsout:0, gapsin:0, border: 0, rounding:0
```
## Rules