Configuring/Workspace Rules: smart gaps ignoring special workspaces (#1025)

This commit is contained in:
Adrian Perez 2025-04-06 05:00:05 -07:00 committed by GitHub
parent 75af28dc35
commit 7a02aab76d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,6 +68,19 @@ windowrule = bordersize 0, floating:0, onworkspace:f[1]
windowrule = rounding 0, floating:0, onworkspace:f[1] windowrule = rounding 0, floating:0, onworkspace:f[1]
``` ```
#### Smart gaps (ignoring special workspaces)
You can combine workspace selectors for more fine-grained control, for example, to ignore special workspaces:
```ini
workspace = w[tv1]s[false], gapsout:0, gapsin:0
workspace = f[1]s[false], gapsout:0, gapsin:0
windowrule = bordersize 0, floating:0, onworkspace:w[tv1]s[false]
windowrule = rounding 0, floating:0, onworkspace:w[tv1]s[false]
windowrule = bordersize 0, floating:0, onworkspace:f[1]s[false]
windowrule = rounding 0, floating:0, onworkspace:f[1]s[false]
```
## Rules ## Rules
| Rule | Description | type | | Rule | Description | type |