dotfiles/.config/i3/i3blocks.conf

69 lines
1.3 KiB
Text
Raw Normal View History

2021-03-21 21:08:53 +01:00
#[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
2021-07-27 22:56:39 +02:00
[tun0]
command=~/.config/i3/scripts/ifstats.sh tun0
interval=10
color=#91E78B
[wlp3s0]
command=~/.config/i3/scripts/ifstats.sh wlp3s0
interval=10
color=#A4C2F4
2021-06-29 11:18:37 +02:00
[notifications]
2021-07-04 19:45:18 +02:00
full_text=available
2021-07-10 08:39:18 +02:00
command=~/.config/i3/scripts/togglenotify.sh
2021-06-29 11:18:37 +02:00
color=#91E78B
2021-07-10 08:39:18 +02:00
## 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
2021-03-21 21:08:53 +01:00
# 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
2021-06-29 01:21:14 +02:00
[wifi]
command=wpa_cli status | grep ^ssid
interval=10
color=#A4C2F4
[mail]
2021-07-09 20:09:48 +02:00
command=~/.config/i3/scripts/mailnotify.sh
2021-06-29 01:21:14 +02:00
interval=60
color=#91E78B
2021-03-21 21:08:53 +01:00
# Update time every 5 seconds
[time]
command=date +%T
interval=5