From c41a642593928b7d3dd956d993bd06c100cebca6 Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Mon, 28 Apr 2025 09:14:35 +0200 Subject: [PATCH] hyprland: add smart gaps --- homes/julian/features/hyprland/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homes/julian/features/hyprland/default.nix b/homes/julian/features/hyprland/default.nix index 33fb841..2473136 100644 --- a/homes/julian/features/hyprland/default.nix +++ b/homes/julian/features/hyprland/default.nix @@ -241,6 +241,11 @@ in "8, monitor:eDP-1" "9, monitor:eDP-1" "10, monitor:eDP-1" + + # smart gaps (none when only one window in workspace) + "w[t1], gapsin:0, gapsout:0, border:1" + "w[tg1], gapsin:0, gapsout:0, border:1" + "f[1], gapsin:0, gapsout:0, border:1" ]; # Mouse binds