xmobar: fuse battery format

This commit is contained in:
Primrose 2025-07-13 22:54:53 +02:00
parent 9e5cab7986
commit e3a9d6ac49
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -13,7 +13,7 @@
, position = BottomH 30
, commands = [ Run Date "%a %d %H:%M:%S" "date" 10
, Run Battery
[ "-t", "<left> (<timeleft>)"
[ "-t", "<left> (<timeleft>"
, "-H", "70"
, "-L", "20"
, "-h", "green"
@ -24,7 +24,8 @@
, "-A", "20"
, "-a", "notify-send -u critical \"Battery Low\" \"Please charge your battery\""
]
600
60
, Run Com "powerprofilesctl" [ "get" ] "" 60
, Run XMonadLog
, Run
DynNetwork
@ -51,11 +52,10 @@
, "--low", "blue"
]
9000
, Run Com "powerprofilesctl" [ "get" ] "" 60
]
, sepChar = "%"
, alignSep = "}{"
, template = " %XMonadLog% }{ %dynnetwork% | %LFRN% | %battery% %powerprofilesctl% | %date% "
, template = " %XMonadLog% }{ %dynnetwork% | %LFRN% | %battery%, %powerprofilesctl%) | %date% "
}
'';
};