From eb5ab2f9cc63719a955b9333ce5ca1e1d2635cf7 Mon Sep 17 00:00:00 2001 From: Gabriel Volpe Date: Sat, 9 Sep 2023 19:08:54 +0200 Subject: [PATCH] polybar: add low battery label --- home/services/polybar/modules.ini | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/home/services/polybar/modules.ini b/home/services/polybar/modules.ini index d3d5d837..bba28d96 100644 --- a/home/services/polybar/modules.ini +++ b/home/services/polybar/modules.ini @@ -200,6 +200,14 @@ label-full = Fully Charged label-full-background = ${color.mb} label-full-padding = ${layout.module-padding} +; Available tokens: +; %percentage% (default) - is set to 100 if full-at is reached +; %percentage_raw% +; %time% +; %consumption% (shows current discharge rate in watts) +; New in version 3.6.0 +label-low = "%{T2}󰚌%{T-} LOW BATTERY %{T2}󰚌%{T-}" + ; Only applies if is used ramp-capacity-0 =  ramp-capacity-1 = 