New backup 2025-11-28 11:45:02
This commit is contained in:
parent
65107159a1
commit
1bbbf71b1a
2 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@
|
||||||
; :class "revealer-preview ${(EWW_BATTERY == '' || jq(EWW_BATTERY,'.[].status?','r') == 'Charging') ? 'active' : 'inactive' }"
|
; :class "revealer-preview ${(EWW_BATTERY == '' || jq(EWW_BATTERY,'.[].status?','r') == 'Charging') ? 'active' : 'inactive' }"
|
||||||
; :tooltip "${jq(EWW_BATTERY,'.[].capacity?')}%"
|
; :tooltip "${jq(EWW_BATTERY,'.[].capacity?')}%"
|
||||||
; {(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?')}%"}`})
|
||||||
:tooltip `${(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? "Charging" : "Discharging"}, ${(EWW_BATTERY == "") ? "" : "${round(jq(EWW_BATTERY,'.total_avg?'),2)} of total"}`
|
:tooltip `${(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? "Charging" : "Discharging"}, ${(EWW_BATTERY == "") ? "" : "${round(jq(EWW_BATTERY,'.total_avg?'),1)}% of total average"}`
|
||||||
:text `${(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " " : " "}${(EWW_BATTERY == "") ? "" : "${round(jq(EWW_BATTERY,'.[].capacity?'),0)}%"}`)
|
:text `${(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " " : " "}${(EWW_BATTERY == "") ? "" : "${round(jq(EWW_BATTERY,'.[].capacity?'),0)}%"}`)
|
||||||
(battery_children)))
|
(battery_children)))
|
||||||
; ${jq(EWW_BATTERY,'.[].capacity?')}%"}
|
; ${jq(EWW_BATTERY,'.[].capacity?')}%"}
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@
|
||||||
:revealvar-name "reveal_sysdisk"
|
:revealvar-name "reveal_sysdisk"
|
||||||
(box
|
(box
|
||||||
:class "revealer-preview"
|
:class "revealer-preview"
|
||||||
|
:tooltip "${jq(EWW_DISK,'to_entries[]|"\\(.key) \\(.value.used_perc*10|round/10)% \\n"','r')}"
|
||||||
(metric :label " "
|
(metric :label " "
|
||||||
:tooltip "home"
|
|
||||||
:value {EWW_DISK["/home"].used_perc}))
|
:value {EWW_DISK["/home"].used_perc}))
|
||||||
(sysdisk_children)))
|
(sysdisk_children)))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue