summaryrefslogtreecommitdiff
path: root/i3blocks-memory.sh
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-05-13 17:58:26 -0400
committerAdam T. Carpenter <atc@53hor.net>2020-05-13 17:58:26 -0400
commitd552ce8e6de88ee7ff362d3a6a9ad746e876fbc5 (patch)
treeefe83835c5372978d2bb735f7a1c766881f9aeb7 /i3blocks-memory.sh
parent212b87cd003505f0414b8c3cc538c715f8c33df6 (diff)
downloadscripts-d552ce8e6de88ee7ff362d3a6a9ad746e876fbc5.tar.xz
scripts-d552ce8e6de88ee7ff362d3a6a9ad746e876fbc5.zip
fixed email address
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)