From b41c6dfec4db0a8395d72a76b37d842a2b1221a4 Mon Sep 17 00:00:00 2001 From: dx Date: Wed, 15 Jul 2020 15:34:53 +0100 Subject: ~clean up scripts Remove any redundant info, only leaving what is absolutely necessary. --- Scripts/.local/scripts/status/memory | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Scripts/.local/scripts/status/memory') diff --git a/Scripts/.local/scripts/status/memory b/Scripts/.local/scripts/status/memory index eeaf7af..9f50677 100755 --- a/Scripts/.local/scripts/status/memory +++ b/Scripts/.local/scripts/status/memory @@ -3,5 +3,5 @@ line=$(free -m | sed -n 2p); used=$(echo $line | awk '{print $3}'); available=$(echo $line | awk '{print $2}'); -echo "100 * $used / $available" | bc -l | xargs printf " Mem: %.2f" $1 +echo "100 * $used / $available" | bc -l | xargs printf " %.2f" $1 echo "%" -- cgit v1.2.3-13-gbd6f