dotfiles/localbin/.local/bin/dwmscript/dwmmemory

8 lines
124 B
Bash
Executable File

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