Fix ram usage in example

This commit is contained in:
elkowar 2021-09-12 12:03:10 +02:00
parent 4a56b74b9a
commit baad2bf8d2
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F

View file

@ -10,7 +10,7 @@
:value volume :value volume
:onchange "amixer -D pulse sset Master {}%") :onchange "amixer -D pulse sset Master {}%")
(metric :label "" (metric :label ""
:value EWW_RAM :value {EWW_RAM.used_mem_perc}
:onchange "") :onchange "")
(metric :label "💾" (metric :label "💾"
:value {round((1 - (EWW_DISK["/"].free / EWW_DISK["/"].total)) * 100, 0)} :value {round((1 - (EWW_DISK["/"].free / EWW_DISK["/"].total)) * 100, 0)}