added disk3
This commit is contained in:
16
eww.yuck
16
eww.yuck
@@ -271,14 +271,26 @@
|
||||
(defwidget disk []
|
||||
(box
|
||||
:class "monitor"
|
||||
:orientation "v"
|
||||
:space-evenly false
|
||||
(box
|
||||
:orientation "h"
|
||||
:space-evenly false
|
||||
(label :text "/: ${round(EWW_DISK["/"].free/1000000000, 2)}/${round(EWW_DISK["/"].total/1000000000,2)} GB")
|
||||
(circular-progress
|
||||
:value {round(EWW_DISK["/"].used_perc, 1)}
|
||||
:thickness 6)
|
||||
(label :text "${round(EWW_DISK["/"].used_perc, 1)}% used")
|
||||
))
|
||||
(label :text "${round(EWW_DISK["/"].used_perc, 1)}% used"))
|
||||
(box
|
||||
:orientation "h"
|
||||
:space-evenly false
|
||||
(label :text "/disk3: ${round(EWW_DISK["/mnt/disk3"].free/1000000000, 2)}/${round(EWW_DISK["/mnt/disk3"].total/1000000000,2)} GB")
|
||||
(circular-progress
|
||||
:value {round(EWW_DISK["/mnt/disk3"].used_perc, 1)}
|
||||
:thickness 6)
|
||||
(label :text "${round(EWW_DISK["/mnt/disk3"].used_perc, 1)}% used"))
|
||||
)
|
||||
)
|
||||
|
||||
(deflisten cava "bash $HOME/.config/eww/scripts/cava.sh")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user