dotfiles/localbin/.local/bin/dwmmemory

8 lines
124 B
Plaintext
Raw Normal View History

#!/bin/bash
icon=""
mem="$(free -h | awk '/^Mem/ { print $3"/"$2 }' | sed s/i//g)"
printf " %s %s \\n" "$icon" "$mem"