summaryrefslogtreecommitdiff
path: root/arch/hyprland/.config/hypr/windowrules.conf
diff options
context:
space:
mode:
Diffstat (limited to 'arch/hyprland/.config/hypr/windowrules.conf')
-rw-r--r--arch/hyprland/.config/hypr/windowrules.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/hyprland/.config/hypr/windowrules.conf b/arch/hyprland/.config/hypr/windowrules.conf
index 6778846..dc04c62 100644
--- a/arch/hyprland/.config/hypr/windowrules.conf
+++ b/arch/hyprland/.config/hypr/windowrules.conf
@@ -60,3 +60,25 @@ windowrule {
match:fullscreen = true
idle_inhibit = fullscreen
}
+
+# ── Smart gaps ───────────────────────────────────────────────────────────────
+workspace = w[tv1]s[false], gapsout:0, gapsin:0
+workspace = f[1]s[false], gapsout:0, gapsin:0
+
+windowrule {
+ name = no-gaps-single
+ match:float = false
+ match:workspace = w[tv1]s[false]
+ border_size = 0
+ rounding = 0
+ no_shadow = false
+}
+
+windowrule {
+ name = no-gaps-fullscreen
+ match:float = false
+ match:workspace = f[1]s[false]
+ border_size = 0
+ rounding = 0
+ no_shadow = false
+}