# i3blocks config file # # Please see man i3blocks for a complete reference! # The man page is also hosted at http://vivien.github.io/i3blocks # # List of valid properties: # # align # color # command # full_text # instance # interval # label # min_width # name # separator # separator_block_width # short_text # signal # urgent # Global properties # # The top properties below are applied to every block, but can be overridden. # Each block command defaults to the script name to avoid boilerplate. command=/usr/lib/i3blocks/$BLOCK_NAME separator_block_width=15 markup=pango signal=1 [primary] label= command=echo "$(xclip -o | grep -o '^.\{0,9\}' | sed -e 's/[^a-zA-Z0-9\-]/_/g')" interval=5 [clipboard] label= command=echo "$(xclip -o -selection "clipboard" | grep -o '^.\{0,9\}' | sed -e 's/[^a-zA-Z0-9\-]/_/g')" interval=5 [volume] label= instance=Master interval=5 [repos] command=~/dotfiles/i3/.config/i3blocks/bin/repos instance=PostDoc:/home/urbain/postdoc Home:/home/urbain interval=1000 [updates-arch] command=~/dotfiles/i3/.config/i3blocks/bin/updates interval=1000 [email] command=~/dotfiles/i3/.config/i3blocks/bin/email separator=true interval=5 [wifi] label= command=~/dotfiles/i3/.config/i3blocks/bin/wifi separator=true interval=5 [battery] 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 # Requires i3blocks-contrib (AUR) [diskhome] label= command=/usr/lib/i3blocks/disk/disk instance=/home/urbain interval=300 [diskroot] label= command=/usr/lib/i3blocks/disk/disk instance=/ interval=300 [date] label= command=echo $([ $BLOCK_BUTTON = 1 ] && gsimplecal; date '+%Y-%m-%d') interval=60 [time] label= command=date '+%H:%M' interval=60