1
0
Fork 0
dotfiles/.local/bin/statusbar/sb-memory
2023-04-13 10:48:36 +02:00

2 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))}'