X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=baraction.sh;h=57f0e60e7eff90521afb64830bb3c7f03744d6b5;hb=a6fb71019bb97cc4bf8b5f6ca479a0ffd0cf4518;hp=1b9d0ead988bd8388a3eed937bfbc0e6b73feade;hpb=cd8f3f52f7a17db4d31c9dbeca7bb1d248145cf9;p=spectrwm.git diff --git a/baraction.sh b/baraction.sh index 1b9d0ea..57f0e60 100644 --- a/baraction.sh +++ b/baraction.sh @@ -12,7 +12,7 @@ print_date() { } print_mem() { - MEM=`/usr/bin/top | grep Free: | awk {'print $6'}` + MEM=`/usr/bin/top | grep Free: | cut -d " " -f7` echo -n "Free mem: $MEM " }