diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-11-07 11:02:31 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-11-07 11:02:31 +0100 |
commit | af7360709505c9af44c99c3ff91f453ec7e35aeb (patch) | |
tree | b314a8b4a304a5a7c2ba943c23e25b56eb50056a /i3/.config/i3blocks/config | |
parent | 612f08778c346b8e0d294df8828fce33f99f1d25 (diff) |
[i3blocks] Add ram usage
Diffstat (limited to 'i3/.config/i3blocks/config')
-rw-r--r-- | i3/.config/i3blocks/config | 5 |
1 files changed, 5 insertions, 0 deletions
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=<span color='gray'></span> +command=echo $(free | grep '^Mem' | awk '{ printf "%3.0f%\n", 100*$3/$2 }') +interval=30 + [diskhome] label=<span color='gray'></span> command=/usr/lib/i3blocks/disk |