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 e40c2df..308b2b1 100755
--- a/i3blocks-memory.sh
+++ b/i3blocks-memory.sh
@@ -1,4 +1,4 @@
#!/bin/sh
icon=󰍛
-printf "$icon %s\n" $(vmstat -h | tail -1 | cut -w -f5)
+printf "$icon %s\n" $(top -d 1 | grep Mem | cut -w -f2)