summaryrefslogtreecommitdiff
path: root/i3blocks-memory.sh
diff options
context:
space:
mode:
Diffstat (limited to 'i3blocks-memory.sh')
-rwxr-xr-xi3blocks-memory.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/i3blocks-memory.sh b/i3blocks-memory.sh
index f37dc4c..e40c2df 100755
--- a/i3blocks-memory.sh
+++ b/i3blocks-memory.sh
@@ -1,4 +1,4 @@
#!/bin/sh
icon=󰍛
-printf "$icon %s\n" "$(free -h | awk 'FNR==2 { print $3 }')"
+printf "$icon %s\n" $(vmstat -h | tail -1 | cut -w -f5)