From 734cbdac6221157170d602b111ce5528ed937959 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sun, 10 Nov 2024 20:44:26 +0300 Subject: [PATCH] Waybar: Again fix battery info. --- home/config/waybar/config/default.nix | 9 +++++---- home/config/waybar/style/Plugin.nix | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/home/config/waybar/config/default.nix b/home/config/waybar/config/default.nix index 341e99f..39a1169 100644 --- a/home/config/waybar/config/default.nix +++ b/home/config/waybar/config/default.nix @@ -86,10 +86,11 @@ in { ]; }; "custom/powerlimit" = { - exec = "powerlimit widget"; - on-click-right = "powerlimit toggle"; - signal = 6; - tooltip = false; + exec = "powerlimit widget"; + hide-empty-text = false; + on-click-right = "powerlimit toggle"; + signal = 6; + tooltip = false; }; "group/batteryinfo" = { orientation = "horizontal"; diff --git a/home/config/waybar/style/Plugin.nix b/home/config/waybar/style/Plugin.nix index 6f9499c..af7fab2 100644 --- a/home/config/waybar/style/Plugin.nix +++ b/home/config/waybar/style/Plugin.nix @@ -11,12 +11,12 @@ in { text = '' /* See the ISSUE above. */ #custom-tag1, - #batteryinfo { + #battery { padding-left: ${paddingH}; } #custom-tag2, - #batteryinfo { + #custom-powerlimit { padding-right: ${paddingH}; }