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

3 lines
130 B
Text
Raw Normal View History

2022-07-04 21:36:33 +02:00
#!/bin/sh
2022-08-22 20:33:37 +02:00
free --mebi | sed -n '2{p;q}' | awk '{printf ("\033[11m\033[10m %2.2fGiB / %2.2fGiB\n", ( $3 / 1024), ($2 / 1024))}'