cfg/.config/i3blocks/mem

6 lines
93 B
Text
Raw Normal View History

#!/bin/bash
printf '\uf85a '
free | awk '/Mem:/{ printf "%.0f%", (($2 - $7) / $2) * 100 }'