From 6f897c46303387849c574163d4fcd6ef41715e9b Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Fri, 4 May 2018 11:03:50 +0100 Subject: [PATCH] Add wan ip to secondary monitor status bar --- i3/i3blocks-secondary.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/i3/i3blocks-secondary.conf b/i3/i3blocks-secondary.conf index ad26bdac..c0992c89 100644 --- a/i3/i3blocks-secondary.conf +++ b/i3/i3blocks-secondary.conf @@ -40,6 +40,11 @@ interval=once signal=11 +[wanip] +command=curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//' +interval=10 +color=#00FF00 + # Generic media player support # # This displays "ARTIST - SONG" if a music is playing.