1
0
Fork 0
dotfiles/.local/bin/statusbar/sb-memory

3 lines
124 B
Bash
Executable File

#!/bin/sh
free --mebi | sed -n '2{p;q}' | awk '{printf ("\e[11m\e[10m %2.2fGiB/%2.2fGiB\n", ( $3 / 1024), ($2 / 1024))}'