From 71752bbbd0af3c8f550bcbb0fc004648b03b9cb1 Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Thu, 25 May 2017 10:28:11 +0100 Subject: [PATCH] Use ipify.org for public IP tracking --- .config/i3/blocks/iface | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/i3/blocks/iface b/.config/i3/blocks/iface index 48e672e..4b49830 100755 --- a/.config/i3/blocks/iface +++ b/.config/i3/blocks/iface @@ -51,6 +51,6 @@ LOCIP=$(ip addr show $IF | perl -n -e "/$AF ([^\/]+).* scope global/ && print \$ #------------------------------------------------------------------------ case $BLOCK_BUTTON in - 1) echo $(curl -s http://whatismijnip.nl | cut -d " " -f 5);; + 1) curl -s https://api.ipify.org;; *) echo "$LOCIP";; esac