dotfiles/home/.config/eww/modules/memory.yuck

16 lines
303 B
Plaintext
Raw Normal View History

2022-10-29 18:25:42 +00:00
(defwidget memory_module []
(eventbox
:class "module memory"
(box
:space-evenly false
(label
:class "icon"
:text " ")
(label
:class "value"
:text "${round(EWW_RAM.used_mem / 1000000,1)}G: ${round(EWW_RAM.used_mem_perc,0)}%"
)
)))