New backup 2025-03-13 14:15:02

This commit is contained in:
Penelope Gwen 2025-03-13 14:15:02 -07:00
parent 44523b01db
commit e316061382

View file

@ -6,9 +6,9 @@
(button :onclick 'notify-send battery lol'
:class {(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? "active" : "" }
; {(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?')}%"})
`${(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? "" : ""}${(EWW_BATTERY == "") ? "" : "${jq(EWW_BATTERY,'.[].capacity?')}%"}`)
(battery_children)))
; ${jq(EWW_BATTERY,'.[].capacity?')}%"}
(defwidget battery_children []
(box :class "reveal_children"
:orientation "h"