vanadium/xmobar: add charging status

This commit is contained in:
Primrose 2025-08-28 10:34:03 +08:00
parent 8a85f8626e
commit c761ce8ac2
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -35,13 +35,16 @@ config =
(60 &minute) (60 &minute)
, Run $ , Run $
Battery Battery
[ "-t", "<left> (<timeleft>" [ "-t", "<acstatus> <left> (<timeleft>"
, "-H", "70" , "-H", "70"
, "-L", "20" , "-L", "20"
, "-h", "green" , "-h", "green"
, "-n", "orange" , "-n", "orange"
, "-l", "red" , "-l", "red"
, "--" , "--"
, "-O", "Charging"
, "-i", "Idle"
, "-o", "Battery"
, "-P" , "-P"
, "-A", "10" , "-A", "10"
-- TODO: File a bug upstream about notify-send -- TODO: File a bug upstream about notify-send