New backup 2025-03-04 00:30:02
This commit is contained in:
parent
fea3cccc20
commit
df1a45c839
1 changed files with 21 additions and 3 deletions
|
@ -7,6 +7,7 @@
|
||||||
(defwidget rightgroup []
|
(defwidget rightgroup []
|
||||||
(box :class "rightgroup" :orientation "h" :space-evenly false :halign "end"
|
(box :class "rightgroup" :orientation "h" :space-evenly false :halign "end"
|
||||||
(idleinhibit)
|
(idleinhibit)
|
||||||
|
(volume)
|
||||||
(network)
|
(network)
|
||||||
(vpn)
|
(vpn)
|
||||||
(bluetooth)
|
(bluetooth)
|
||||||
|
@ -75,6 +76,23 @@
|
||||||
:duration {duration ?: "500ms"}
|
:duration {duration ?: "500ms"}
|
||||||
(children :nth 1))))))
|
(children :nth 1))))))
|
||||||
|
|
||||||
|
(defvar reveal_volume false)
|
||||||
|
(defwidget volume []
|
||||||
|
(revealer-on-hover
|
||||||
|
:revealvar reveal_volume
|
||||||
|
:revealvar-name "reveal_volume"
|
||||||
|
(button :onclick 'pavucontrol-qt --tab 3'
|
||||||
|
"")
|
||||||
|
(volume_children)))
|
||||||
|
|
||||||
|
(defwidget volume_children []
|
||||||
|
(box :class "reveal_children"
|
||||||
|
:orientation "h"
|
||||||
|
:space-evenly false
|
||||||
|
:halign "center"
|
||||||
|
(scale
|
||||||
|
:value '50')))
|
||||||
|
|
||||||
(defpoll vpn_active :initial false
|
(defpoll vpn_active :initial false
|
||||||
:interval "5s"
|
:interval "5s"
|
||||||
"scripts/vpn-status")
|
"scripts/vpn-status")
|
||||||
|
@ -136,7 +154,7 @@
|
||||||
(revealer-on-hover
|
(revealer-on-hover
|
||||||
:revealvar reveal_sysdisk
|
:revealvar reveal_sysdisk
|
||||||
:revealvar-name "reveal_sysdisk"
|
:revealvar-name "reveal_sysdisk"
|
||||||
(metric :label "/home"
|
(metric :label "/home "
|
||||||
:value {EWW_DISK["/home"].used_perc}
|
:value {EWW_DISK["/home"].used_perc}
|
||||||
:onchange "")
|
:onchange "")
|
||||||
(sysdisk_children)))
|
(sysdisk_children)))
|
||||||
|
@ -146,10 +164,10 @@
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
:halign "center"
|
:halign "center"
|
||||||
(metric :label "/"
|
(metric :label "/ "
|
||||||
:value {EWW_DISK["/"].used_perc}
|
:value {EWW_DISK["/"].used_perc}
|
||||||
:onchange "")
|
:onchange "")
|
||||||
(metric :label "/boot"
|
(metric :label "/boot "
|
||||||
:value {EWW_DISK["/boot"].used_perc}
|
:value {EWW_DISK["/boot"].used_perc}
|
||||||
:onchange "")))
|
:onchange "")))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue