1
0
Fork 0
dotfiles/.local/libexec/statusbar/sb-memory
2024-02-03 18:21:24 +01:00

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