dwmblocks/scripts/sb-memory
2022-01-08 17:04:07 +00:00

4 lines
109 B
Bash

#!/bin/sh
free --mebi | sed -n '2{p;q}' | awk '{printf ("MEM %2.2f/%2.2fGB\n", ( $3 / 1024), ($2 / 1024))}'