From 5193b4167eaa86c3732c0aed4727ac016eda3cce Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sun, 10 Nov 2024 08:39:31 +0300 Subject: [PATCH] Waybar: Fix battery margin on desktop. --- home/config/waybar/config/default.nix | 2 -- home/config/waybar/style/Plugin.nix | 6 ++++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/home/config/waybar/config/default.nix b/home/config/waybar/config/default.nix index c5539d15..341e99fd 100644 --- a/home/config/waybar/config/default.nix +++ b/home/config/waybar/config/default.nix @@ -94,10 +94,8 @@ in { "group/batteryinfo" = { orientation = "horizontal"; modules = [ - "custom/tag1" "battery" "custom/powerlimit" - "custom/tag2" ]; }; pulseaudio = { diff --git a/home/config/waybar/style/Plugin.nix b/home/config/waybar/style/Plugin.nix index d4c5272c..825f3f2b 100644 --- a/home/config/waybar/style/Plugin.nix +++ b/home/config/waybar/style/Plugin.nix @@ -10,11 +10,13 @@ in { # instead of the whole group. text = '' /* See the ISSUE above. */ - #custom-tag1 { + #custom-tag1, + #custom-batteryinfo { padding-left: ${paddingH}; } - #custom-tag2 { + #custom-tag2, + #custom-batteryinfo { padding-right: ${paddingH}; }