From af9571ee1fb1a3c03a17b6f9792bbad409cd40e1 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Sat, 22 Nov 2025 19:40:16 +0100 Subject: [PATCH] waybar: Highlight battery status when critical --- modules/home/services/waybar.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/home/services/waybar.nix b/modules/home/services/waybar.nix index 18078b8..4735ba8 100644 --- a/modules/home/services/waybar.nix +++ b/modules/home/services/waybar.nix @@ -95,10 +95,7 @@ "󰂂" "󰁹" ]; - states = { - critical = 5; - warning = 15; - }; + states.critical = 10; }; }; @@ -135,6 +132,10 @@ color: @theme_selected_fg_color; font-weight: bold; } + + #battery.critical { + color: @error_color; + } ''; }; };