From 8359aa242b0881fd6e34c562246c3f55dc1bb531 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 29 Oct 2024 21:38:10 +0000 Subject: [PATCH] smart gapps bettar --- pages/Configuring/Workspace-Rules.md | 19 ++++++++++--------- pages/FAQ/_index.md | 4 ++++ 2 files changed, 14 insertions(+), 9 deletions(-) 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).