dotfiles/.config/eww/scripts/memory

4 lines
77 B
Bash
Executable file

#!/bin/sh
printf "%.0f\n" $(free -m | grep Mem | awk '{print ($3/$2)*100}')