nixos/home/hyprland/ironbar/reference/scripts/ram_info
Evie Litherland-Smith be1d5fa798 Switch to minimal ironbar implementation
Save reference for later
Enable upower daemon and add simple bar with the essentials for now,
TODO more later
2023-10-11 08:28:27 +01:00

5 lines
170 B
Plaintext
Executable file

used="$(free -m | grep Mem: | awk '{ print $3 }')"
shared="$(free -m | grep Mem: | awk '{ print $5 }')"
true_used=$(expr $shared + $used)
echo "$true_used*0.001" | bc -l