diff --git a/pages/Configuring/Workspace-Rules.md b/pages/Configuring/Workspace-Rules.md index 494ad41..f234074 100644 --- a/pages/Configuring/Workspace-Rules.md +++ b/pages/Configuring/Workspace-Rules.md @@ -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 diff --git a/pages/FAQ/_index.md b/pages/FAQ/_index.md index d4cb6ad..6d2bfa6 100644 --- a/pages/FAQ/_index.md +++ b/pages/FAQ/_index.md @@ -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).