New backup 2025-03-13 14:15:02
This commit is contained in:
parent
44523b01db
commit
e316061382
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue