Compare commits
2 Commits
0e1bafcd5c
...
541bb9a60c
| Author | SHA1 | Date | |
|---|---|---|---|
| 541bb9a60c | |||
| 9122f56241 |
2
eww.scss
2
eww.scss
@@ -129,7 +129,7 @@ circular-progress {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.clock {
|
.clock {
|
||||||
font-size: 20px;
|
font-size: 40px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
16
eww.yuck
16
eww.yuck
@@ -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")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user