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

This commit is contained in:
Penelope Gwen 2025-03-06 00:02:15 -08:00
parent 2e1f030584
commit b98d235e99

View file

@ -6,7 +6,7 @@
(button :onclick 'notify-send battery lol'
; {jq(EWW_BATTERY,'.[].status?')})
; "${jq(EWW_BATTERY,'.total_avg')}")
{(EWW_BATTERY != "") ? "" : `${(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