mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-30 22:54:34 +00:00
16 lines
306 B
Plaintext
16 lines
306 B
Plaintext
|
(defwidget memory_module []
|
||
|
(eventbox
|
||
|
:class "module memory"
|
||
|
|
||
|
(box
|
||
|
:space-evenly false
|
||
|
|
||
|
(label
|
||
|
:class "icon"
|
||
|
:text " ")
|
||
|
(label
|
||
|
:class "value"
|
||
|
:text "${round(EWW_RAM.used_mem / 1000000000,1)}G: ${round(EWW_RAM.used_mem_perc,0)}%"
|
||
|
)
|
||
|
)))
|