Move dwindle config "no gaps when only" to workspace rules (#868)

This commit is contained in:
Celestial.y
2025-01-27 23:47:35 +08:00
committed by GitHub
2 changed files with 12 additions and 1 deletions
-1
View File
@@ -60,7 +60,6 @@ general {
dwindle {
preserve_split = true
# no_gaps_when_only = 1
smart_split = false
smart_resizing = false
}
+12
View File
@@ -84,3 +84,15 @@ layerrule = ignorealpha 0.6, indicator.*
layerrule = blur, osk[0-9]*
layerrule = ignorealpha 0.6, osk[0-9]*
# ######## Workspace rules ########
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
# "Smart gaps" / "No gaps when only"
# (replaces dwindle config setting "no_gaps_when_only = 1")
# uncomment all six of these if you wish to use that.
# workspace = w[tv1], gapsout:0, gapsin:0
# workspace = f[1], gapsout:0, gapsin:0
# windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1]
# windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1]
# windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
# windowrulev2 = rounding 0, floating:0, onworkspace:f[1]