1
0
Fork 0

sb-memory: switch to gigibytes

This commit is contained in:
Luca Bilke 2024-07-20 15:06:26 +02:00
parent e14394e54c
commit a4c7137283
Signed by: luca
GPG Key ID: F6E11C9BAA7C82F5
1 changed files with 1 additions and 1 deletions

View File

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