New backup 2025-03-13 14:00:02
This commit is contained in:
parent
6c1bdea5d3
commit
44523b01db
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,9 @@
|
||||||
:revealvar reveal_battery
|
:revealvar reveal_battery
|
||||||
:revealvar-name "reveal_battery"
|
:revealvar-name "reveal_battery"
|
||||||
(button :onclick 'notify-send battery lol'
|
(button :onclick 'notify-send battery lol'
|
||||||
{(EWW_BATTERY == "") ? "" : `${(jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " ${jq(EWW_BATTERY,'.[].capacity?')}%" : " ${jq(EWW_BATTERY,'.[].capacity?')}%"}`})
|
: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?')}%"})
|
||||||
(battery_children)))
|
(battery_children)))
|
||||||
|
|
||||||
(defwidget battery_children []
|
(defwidget battery_children []
|
||||||
|
|
Loading…
Add table
Reference in a new issue