|
|
|
# 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=none
|
|
|
|
|
|
|
|
# Key indicators
|
|
|
|
#
|
|
|
|
# Add the following bindings to i3 config file:
|
|
|
|
#
|
|
|
|
# bindsym --release Caps_Lock exec pkill -S5
|
|
|
|
# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks
|
|
|
|
[keyindicator]
|
|
|
|
instance=CAPS
|
|
|
|
interval=once
|
|
|
|
signal=11
|
|
|
|
|
|
|
|
|
|
|
|
[wanip]
|
|
|
|
command=curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
|
|
|
|
interval=10
|
|
|
|
color=#00FF00
|
|
|
|
|
|
|
|
# Generic media player support
|
|
|
|
#
|
|
|
|
# This displays "ARTIST - SONG" if a music is playing.
|
|
|
|
# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
|
|
|
|
[mediaplayer]
|
|
|
|
command=~/.dotfiles/i3/blocks/mediaplayer
|
|
|
|
instance=spotify
|
|
|
|
interval=2
|
|
|
|
signal=10
|
|
|
|
markup=pango
|
|
|
|
|
|
|
|
# Date Time
|
|
|
|
#
|
|
|
|
[time]
|
|
|
|
command=date '+%A %d %B %Y %H:%M:%S'
|
|
|
|
interval=1
|
|
|
|
|