mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-12-22 17:49:48 +01:00
smart gapps bettar
This commit is contained in:
parent
a1ca975f5b
commit
8359aa242b
2 changed files with 14 additions and 9 deletions
|
@ -55,17 +55,18 @@ 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 this bad boy:
|
||||
|
||||
```ini
|
||||
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
|
||||
workspace = w[t1], gapsout:0, gapsin:0
|
||||
workspace = w[tg1], 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:f[1]
|
||||
windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
|
||||
```
|
||||
|
||||
## Rules
|
||||
|
|
|
@ -426,3 +426,7 @@ If you are not using any -git packages, this is a mistake in your distro's packa
|
|||
### My cursor is a hyprland icon?
|
||||
|
||||
This means you have no hyprcursor theme installed, and hyprland failed to find an XCursor theme as well. Install a cursor theme.
|
||||
|
||||
### Smart gaps please?
|
||||
|
||||
[Here](../Configuring/Workspace-Rules/#smart-gaps).
|
||||
|
|
Loading…
Reference in a new issue