Update memory

This commit is contained in:
Vlad Doster 2020-05-10 00:39:43 -05:00 committed by GitHub
parent e503e300c7
commit eb17cb8591
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,4 +9,4 @@ case $BLOCK_BUTTON in
6) "$TERMINAL" -e "$EDITOR" "$0" ;;
esac
free -h | sed -n '2{p;q}' | awk '{print "🧠", $3 "/" $2}'
free --mebi | sed -n '2{p;q}' | awk '{printf ("RAM: %2.2f/%2.2f\n", ( $3 / 1024), ($2 / 1024))}'