aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts/status/memory
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-07-15 15:34:53 +0100
committerdx <aryadevchavali1@gmail.com>2020-07-15 15:34:53 +0100
commitb41c6dfec4db0a8395d72a76b37d842a2b1221a4 (patch)
tree18e431dd8e27facb1e49053c321292e4d3afacb1 /Scripts/.local/scripts/status/memory
parente2cede510bab6f4d8a29d4bef4c4bc71d739bd9d (diff)
downloaddotfiles-b41c6dfec4db0a8395d72a76b37d842a2b1221a4.tar.gz
dotfiles-b41c6dfec4db0a8395d72a76b37d842a2b1221a4.tar.bz2
dotfiles-b41c6dfec4db0a8395d72a76b37d842a2b1221a4.zip
~clean up scripts
Remove any redundant info, only leaving what is absolutely necessary.
Diffstat (limited to 'Scripts/.local/scripts/status/memory')
-rwxr-xr-xScripts/.local/scripts/status/memory2
1 files changed, 1 insertions, 1 deletions
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 "%"