You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
1.4 KiB
68 lines
1.4 KiB
# 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 |
|
command=xset -q | grep Caps 2> /dev/null | cut -c23 | sed "s/n/CAPS/" | sed "s/f//" |
|
signal=11 |
|
color=#00FF00 |
|
|
|
[wanip] |
|
label=WAN IP |
|
command=echo "<span foreground='#00FF00'> $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//') </span>" |
|
interval=30 |
|
markup=pango |
|
#colorI#= |
|
|
|
# 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 |
|
|
|
|