From af7360709505c9af44c99c3ff91f453ec7e35aeb Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 7 Nov 2018 11:02:31 +0100 Subject: [i3blocks] Add ram usage --- i3/.config/i3blocks/config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/i3/.config/i3blocks/config b/i3/.config/i3blocks/config index c1a9b1e..c11f93c 100644 --- a/i3/.config/i3blocks/config +++ b/i3/.config/i3blocks/config @@ -70,6 +70,11 @@ interval=5 command=~/dotfiles/i3/.config/i3blocks/bin/battery interval=30 +[ram] +label= +command=echo $(free | grep '^Mem' | awk '{ printf "%3.0f%\n", 100*$3/$2 }') +interval=30 + [diskhome] label= command=/usr/lib/i3blocks/disk -- cgit v1.2.3