added disk3

This commit is contained in:
2026-06-07 15:58:52 -05:00
parent 9122f56241
commit 541bb9a60c

View File

@@ -271,14 +271,26 @@
(defwidget disk [] (defwidget disk []
(box (box
:class "monitor" :class "monitor"
:orientation "v"
:space-evenly false
(box
:orientation "h" :orientation "h"
:space-evenly false :space-evenly false
(label :text "/: ${round(EWW_DISK["/"].free/1000000000, 2)}/${round(EWW_DISK["/"].total/1000000000,2)} GB") (label :text "/: ${round(EWW_DISK["/"].free/1000000000, 2)}/${round(EWW_DISK["/"].total/1000000000,2)} GB")
(circular-progress (circular-progress
:value {round(EWW_DISK["/"].used_perc, 1)} :value {round(EWW_DISK["/"].used_perc, 1)}
:thickness 6) :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") (deflisten cava "bash $HOME/.config/eww/scripts/cava.sh")