diff options
author | Joe <bousset.rudy@gmail.com> | 2022-08-17 09:50:29 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-08-17 09:50:29 +0200 |
commit | 0086c804c61dea4d0d5457307a464e6c9cd309b3 (patch) | |
tree | 1ef489a601d8411db65d204ca76eccfae404a1a6 /.local/bin | |
parent | updae (diff) | |
download | dotfiles-bsd-0086c804c61dea4d0d5457307a464e6c9cd309b3.tar.gz dotfiles-bsd-0086c804c61dea4d0d5457307a464e6c9cd309b3.tar.bz2 dotfiles-bsd-0086c804c61dea4d0d5457307a464e6c9cd309b3.tar.xz dotfiles-bsd-0086c804c61dea4d0d5457307a464e6c9cd309b3.tar.zst dotfiles-bsd-0086c804c61dea4d0d5457307a464e6c9cd309b3.zip |
update
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/status/sb-memory | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/status/sb-memory b/.local/bin/status/sb-memory index 79049cb..0a9221c 100755 --- a/.local/bin/status/sb-memory +++ b/.local/bin/status/sb-memory @@ -1,3 +1,3 @@ #!/bin/sh -sysctl -n hw.usermem hw.physmem | xargs | awk '{printf (" %2.2fGiB/%2.2fGiB\n", ($1 / (1024 ^ 3)), ($2 / (1024 ^ 3)))}' +freecolor -o | sed -n '2p' | awk '{printf (" %2.2fGB/%2.2fGB\n", ($3 / (1024 ^ 2)), ($2 / (1024 ^ 2)))}' |