dotfiles/.config/dwm/scripts/mem_info.sh
2022-04-29 00:02:04 +02:00

5 lines
101 B
Bash
Executable File

#!/bin/bash
mem_info=$(free -h | awk '/Mem:/ { printf(" %5s / %s \n", $3, $2) }')
echo ${mem_info}