dotfiles/.config/i3/i3blocks.conf

59 lines
1.1 KiB
Plaintext

#[click]
#full_text=Click me!
#command=echo "Got clicked with button $button"
#color=#F79494
# Guess the weather hourly
#[weather]
#command=curl -Ss 'https://wttr.in?0&T&Q' | cut -c 16- | head -2 | xargs echo
#interval=3600
#color=#A4C2F4
[notifications]
full_text=available
command=~.config/i3/scripts/togglenotify.sh
color=#91E78B
# exchange rate(s)
[xrateEURZAR]
command=~/.config/i3/scripts/xrate.py EURZAR=X
interval=3600
color=#A4C2F4
[xrateSGDZAR]
command=~/.config/i3/scripts/xrate.py SGDZAR=X
interval=3600
color=#A4C2F4
[xrateEURCHF]
command=~/.config/i3/scripts/xrate.py EURCHF=X
interval=3600
color=#A4C2F4
[xrateSGDEUR]
command=~/.config/i3/scripts/xrate.py SGDEUR=X
interval=3600
color=#A4C2F4
# Query my default IP address only on startup
[ip]
#command=hostname -i | awk '{ print "IP:" $1 }'
command=curl -s ipinfo.io | awk '/city/ { split($0, e, "\""); print e[4]; }'
interval=3600
color=#91E78B
[wifi]
command=wpa_cli status | grep ^ssid
interval=10
color=#A4C2F4
[mail]
command=~/.config/i3/scripts/mailnotify.sh
interval=60
color=#91E78B
# Update time every 5 seconds
[time]
command=date +%T
interval=5