From 014b0920b536cefce0d7d21ce8a7e99fb0e7ae19 Mon Sep 17 00:00:00 2001 From: Joel Murphy Date: Tue, 15 Oct 2024 05:38:33 +0100 Subject: [PATCH] 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