summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-10-19 17:03:22 +0100
committerVaxry <vaxry@vaxry.net>2024-10-19 17:03:22 +0100
commitce3ba798df6bca5be1da4396644a9ef08a2acab4 (patch)
tree262f3b92a993540f946d486f79b71f9bab9b50ff
parent0eaf3581a340f2521d96fe46d7956913c72d7698 (diff)
defaultConfig: improve smart gaps
-rw-r--r--example/hyprland.conf14
-rw-r--r--src/config/defaultConfig.hpp14
2 files changed, 20 insertions, 8 deletions
diff --git a/example/hyprland.conf b/example/hyprland.conf
index 6d7bddb8..012446f3 100644
--- a/example/hyprland.conf
+++ b/example/hyprland.conf
@@ -119,10 +119,16 @@ animations {
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
# "Smart gaps" / "No gaps when only"
-# uncomment all three if you wish to use that.
-# workspace = w[t1], gapsout:0, gapsin:0, border: 0, rounding:0
-# workspace = w[tg1], gapsout:0, gapsin:0, border: 0, rounding:0
-# workspace = f[1], gapsout:0, gapsin:0, border: 0, rounding:0
+# uncomment all if you wish to use that.
+# 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]
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {
diff --git a/src/config/defaultConfig.hpp b/src/config/defaultConfig.hpp
index 5c8b0e68..a5d759de 100644
--- a/src/config/defaultConfig.hpp
+++ b/src/config/defaultConfig.hpp
@@ -132,10 +132,16 @@ animations {
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
# "Smart gaps" / "No gaps when only"
-# uncomment all three if you wish to use that.
-# workspace = w[t1], gapsout:0, gapsin:0, border: 0, rounding:0
-# workspace = w[tg1], gapsout:0, gapsin:0, border: 0, rounding:0
-# workspace = f[1], gapsout:0, gapsin:0, border: 0, rounding:0
+# uncomment all if you wish to use that.
+# 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]
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {