Evie Litherland-Smith
be1d5fa798
Save reference for later Enable upower daemon and add simple bar with the essentials for now, TODO more later
5 lines
170 B
Plaintext
Executable file
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
|