Skip to content

Commit

Permalink
add smart gaps to maximised windows (#803)
Browse files Browse the repository at this point in the history
Co-authored-by: Rehan Daphedar <mail@rehandaphedar.com>
  • Loading branch information
rehandaphedar and Rehan Daphedar authored Oct 12, 2024
1 parent 0f24a94 commit c0dd4ba
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pages/Configuring/Workspace-Rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c0dd4ba

Please sign in to comment.