Make i3 work with new version of i3-blocks

This commit is contained in:
Jonathan Hodgson 2018-10-04 16:50:04 +01:00
parent 5effc743b7
commit 9bba0b14c6
10 changed files with 288 additions and 18 deletions

View file

@ -42,12 +42,19 @@ command=xset -q | grep Caps 2> /dev/null | cut -c23 | sed "s/n/CAPS/" | sed "s/f
signal=11
color=#00FF00
#[nameservers]
#interval=5
#command=~/.dotfiles/i3/blocks/nameservers domain.com
#label=Example Nameservers
#command=~/.dotfiles/i3/blocks/dns storedev.checkit.net a 185.181.126.141
#label=storedev.checkit.net
#separator=false
#
#[siteStatis]
#[anameserver]
#interval=5
#command=drill a example.com @ns.mainnameserver.com | sed -ne '/ANSWER SECTION/,/AUTHORITY SECTION/ p' | head -n -2 | tail -n +2 | awk '{ print $5" " }' | xargs echo
#[siteStatus]
#interval=5
#command=~/.dotfiles/i3/blocks/siteStatus https://www.domain.com "Something that should be found on a working request"
@ -85,13 +92,17 @@ separator=false
[vapourtecstatus]
command=~/.dotfiles/i3/blocks/serverStatus Vapourtec
interval=30
separator=false
[checkitstatus]
command=~/.dotfiles/i3/blocks/serverStatus Checkit
interval=30
[wanip]
label=🌍
command=echo "<span foreground='#00FF00'> $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//') </span>"
command=echo "$label $(curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//')"
interval=30
markup=pango
#colorI#=
color=#00FF00
# Date Time