From b9ea238dd7e8a56b1d171cdc76e405bb2a8584dd Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 21 Feb 2018 12:18:32 +0000 Subject: Improve i3 status --- i3/.config/i3blocks/config | 67 +++++++++++++++++++++++++++------------------- 1 file changed, 40 insertions(+), 27 deletions(-) (limited to 'i3/.config/i3blocks/config') diff --git a/i3/.config/i3blocks/config b/i3/.config/i3blocks/config index 2e149bf..48faf62 100644 --- a/i3/.config/i3blocks/config +++ b/i3/.config/i3blocks/config @@ -26,49 +26,62 @@ # Each block command defaults to the script name to avoid boilerplate. command=/usr/lib/i3blocks/$BLOCK_NAME separator_block_width=15 -markup=none +markup=pango +[primary] +label= +command=echo "$(xclip -o | cut -c1-9)" +min_width=15 +interval=5 -# Volume indicator -# -# The first parameter sets the step (and units to display) -# The second parameter overrides the mixer selection -# See the script for details. -[volume] -label=♪ +[clipboard] +label= +command=echo "$(xclip -o -selection "clipboard" | cut -c1-9)" instance=Master interval=5 -[wifi] -label=W: -command=~/dotfiles/i3/.config/i3blocks/bin/wifi -separator=true +[volume] +label= +instance=Master interval=5 +[repos] +command=~/dotfiles/i3/.config/i3blocks/bin/repos +instance=Phd:/home/urbain/phd Home:/home/urbain +interval=1000 + +[updates-arch] +command=~/dotfiles/i3/.config/i3blocks/bin/updates +interval=1000 + [email] -label=Mail: command=~/dotfiles/i3/.config/i3blocks/bin/email separator=true interval=5 -[disk] -label=HOME -interval=30 - -[cpu_usage] -label=CPU -interval=10 -min_width=CPU: 100.00% +[wifi] +label= +command=~/dotfiles/i3/.config/i3blocks/bin/wifi +separator=true +interval=5 [battery] -label=BAT +command=~/dotfiles/i3/.config/i3blocks/bin/battery interval=30 +[diskhome] +label= +command=/usr/lib/i3blocks/disk +instance=/home/urbain +interval=60 + +[diskroot] +label= +command=/usr/lib/i3blocks/disk +instance=/ +interval=60 + [time] +label= command=date '+%Y-%m-%d %H:%M' interval=5 - -[mediaplayer] -instance=spotify -interval=5 -signal=10 -- cgit v1.2.3