New backup 2025-03-06 00:00:02

This commit is contained in:
Penelope Gwen 2025-03-06 00:00:02 -08:00
parent 1e8058ed43
commit 2053a58f8b

View file

@ -6,7 +6,7 @@
(button :onclick 'notify-send battery lol'
; {jq(EWW_BATTERY,'.[].status?')})
; "${jq(EWW_BATTERY,'.total_avg')}")
{(jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " ${jq(EWW_BATTERY,'.[].capacity?')}%" : " ${jq(EWW_BATTERY,'.[].capacity?')}%"})
{(EWW_BATTERY == "") ? "hi" : `${(jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " ${jq(EWW_BATTERY,'.[].capacity?')}%" : " ${jq(EWW_BATTERY,'.[].capacity?')}%"}`})
(battery_children)))
;(defpoll battery_level :initial 0