From c0dd4baf900ce59e323646c0561d82331fbf1a6a Mon Sep 17 00:00:00 2001 From: Rehan Daphedar Date: Sat, 12 Oct 2024 19:56:11 +0530 Subject: [PATCH] add smart gaps to maximised windows (#803) Co-authored-by: Rehan Daphedar --- pages/Configuring/Workspace-Rules.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pages/Configuring/Workspace-Rules.md b/pages/Configuring/Workspace-Rules.md index 39e8561..494ad41 100644 --- a/pages/Configuring/Workspace-Rules.md +++ b/pages/Configuring/Workspace-Rules.md @@ -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