From bd6d469e8148f5b6b3131cc425ab57eb8cef7917 Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Sat, 31 Aug 2024 10:23:55 +0200 Subject: [PATCH] bar: Define tray item padding --- home/config/nil/bar.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/config/nil/bar.nix b/home/config/nil/bar.nix index dbc8774..0a4ed6d 100644 --- a/home/config/nil/bar.nix +++ b/home/config/nil/bar.nix @@ -50,6 +50,10 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) { min-width: 5mm; } + #tray > * > * { + padding: 0 1.5mm; + } + #battery.warning { color: ${yellow}; } @@ -104,6 +108,8 @@ in lib.mkIf (osConfig.hardware.graphics.enable or false) { "clock" ]; + tray.spacing = 0; + mpris = { interval = 1; format = "{status_icon} {dynamic} {player_icon}";