This commit is contained in:
David Aizenberg
2020-04-18 22:28:02 +03:00
parent c06919aca3
commit 60e381cd0f
3 changed files with 38 additions and 23 deletions

48
i3blocks.conf Normal file
View File

@@ -0,0 +1,48 @@
[docker]
command= sh ~/Scripts/docker.sh
color=#0db7ed
interval=10
[balance]
command= sh ~/Scripts/getTransferBal.sh
interval=120
color=#00ff00
[memory]
command= sh ~/Scripts/memory.sh
label=MEM
interval=30
[disk]
command= sh ~/Scripts/disk.sh
label=HOME:
interval=30
[clicker]
command= sh ~/Scripts/getTimeWorked.sh
interval=480
color=#00f404
# 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
# Query my default IP address only on startup
[ip]
command=curl -s ip.me | awk '{ print "IP:" $1 }'
interval=once
color=#91E78B
[covid]
command= sh ~/Scripts/corona.sh
color=#ffffff
interval=240
# Update time every 5 seconds
[time]
command=echo "Local: $(date +%H:%M) | LA: $(TZ="America/Los_Angeles" date +%H:%M)"
color=#ffffff
interval=5