mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
More precise RAM measurement and fix of memory type
This commit is contained in:
parent
6577acae89
commit
bbd2d8b23c
@ -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 ("🧠 %2.2fGiB/%2.2fGiB", ( $3 / 1024), ($2 / 1024))}'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user