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

4 lines
139 B
Bash
Executable File

#!/bin/sh
printf "%b" "\033[11m󰘚\033[10m "
free --mega | sed -n '2{p;q}' | awk '{printf ("%2.2fG/%2.2fG\n", ($3 / 1000), ($2 / 1000))}'