From 014b0920b536cefce0d7d21ce8a7e99fb0e7ae19 Mon Sep 17 00:00:00 2001 From: Joel Murphy Date: Tue, 15 Oct 2024 05:38:33 +0100 Subject: [PATCH 1/2] Move dwindle config "no gaps when only" to workspace rules --- .config/hypr/hyprland/general.conf | 1 - .config/hypr/hyprland/rules.conf | 9 +++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.config/hypr/hyprland/general.conf b/.config/hypr/hyprland/general.conf index 8cf5f11f2..d2bf18723 100644 --- a/.config/hypr/hyprland/general.conf +++ b/.config/hypr/hyprland/general.conf @@ -60,7 +60,6 @@ general { dwindle { preserve_split = true - # no_gaps_when_only = 1 smart_split = false smart_resizing = false } diff --git a/.config/hypr/hyprland/rules.conf b/.config/hypr/hyprland/rules.conf index d84d5b476..b10f0b38a 100644 --- a/.config/hypr/hyprland/rules.conf +++ b/.config/hypr/hyprland/rules.conf @@ -84,3 +84,12 @@ layerrule = ignorealpha 0.6, indicator* layerrule = blur, osk layerrule = ignorealpha 0.6, osk +# ######## 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 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 From 65dfaf3a783d1c7ccead6cc5daf441024711c9c3 Mon Sep 17 00:00:00 2001 From: Joel Murphy Date: Tue, 19 Nov 2024 00:45:18 +0000 Subject: [PATCH 2/2] Update smart gaps rules (again) In line with latest example which was updated here, the current rules no longer work: https://github.com/hyprwm/Hyprland/commit/dca75db127fedc58fc85ae0e6e47162e3d5d16f9 --- .config/hypr/hyprland/rules.conf | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.config/hypr/hyprland/rules.conf b/.config/hypr/hyprland/rules.conf index b10f0b38a..10e36d180 100644 --- a/.config/hypr/hyprland/rules.conf +++ b/.config/hypr/hyprland/rules.conf @@ -89,7 +89,10 @@ layerrule = ignorealpha 0.6, osk # 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 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 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]