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

4 lines
123 B
Bash
Executable File

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