New backup 2025-03-06 00:01:20

This commit is contained in:
Penelope Gwen 2025-03-06 00:01:20 -08:00
parent 2053a58f8b
commit 2e1f030584

View file

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