From 08fbc8c2bddb7a630b76d5ce4aa666cfe071c073 Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Mon, 7 Oct 2024 16:04:37 -0300 Subject: [PATCH] :boom: fix(waybar): persistent spacing on window module --- waybar/config.jsonc | 2 +- waybar/style.css | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/waybar/config.jsonc b/waybar/config.jsonc index 3c97082..05b027a 100644 --- a/waybar/config.jsonc +++ b/waybar/config.jsonc @@ -1,7 +1,7 @@ { "position": "top", "layer": "top", - "spacing": 4, + "spacing": 0, "margin": 5, "reload_style_on_change": true, "modules-left": [ diff --git a/waybar/style.css b/waybar/style.css index ccb2c0b..c360cc9 100644 --- a/waybar/style.css +++ b/waybar/style.css @@ -31,15 +31,12 @@ window > * > * { .module { padding: 0 10px; font-weight: 500; + margin: 0 1px; } widget > *:hover:not(#workspaces):not(#tray):not(#custom-media) { background: @color1; } - -button:hover { - background: @color1; -} /***/ /* Workspaces */ @@ -94,6 +91,7 @@ widget #custom-notifications { window#waybar.empty #window { padding: 0; + margin: 0; } widget #battery.charging,