fix edge cases in smart gaps workspace-rule (#856)

This commit is contained in:
Ching Pei Yang 2024-11-09 17:55:52 +01:00 committed by GitHub
parent 62c6debab3
commit dcafe02bf0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,13 +59,10 @@ workspace = w[tg1-4], shadow:false
To replicate "smart gaps" / "no gaps when only" from other WMs/Compositors, use this bad boy:
```ini
workspace = w[t1], gapsout:0, gapsin:0
workspace = w[tg1], gapsout:0, gapsin:0
workspace = w[tv1], gapsout:0, gapsin:0
workspace = f[1], gapsout:0, gapsin:0
windowrulev2 = bordersize 0, floating:0, onworkspace:w[t1]
windowrulev2 = rounding 0, floating:0, onworkspace:w[t1]
windowrulev2 = bordersize 0, floating:0, onworkspace:w[tg1]
windowrulev2 = rounding 0, floating:0, onworkspace:w[tg1]
windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1]
windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1]
windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
```