From 656ce2b41622fec1600784abbbfc9a1acfa92ce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Thu, 28 May 2020 07:35:33 -0500 Subject: [PATCH] Revert "Improve iface" This reverts commit ef24bb2504554bf1a906bfe8a5f5db3d052495ee. --- scripts/i3blocks/iface | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/i3blocks/iface b/scripts/i3blocks/iface index 918d82e..46e78bc 100755 --- a/scripts/i3blocks/iface +++ b/scripts/i3blocks/iface @@ -54,7 +54,7 @@ then fi # Check local ip address -IPADDR=$(ip route get 4.2.2.1 | awk '{print $(NF-2);exit}') +IPADDR=$(ip route get 4.2.2.1 | awk '{print $NF;exit}') case $BLOCK_BUTTON in 3) echo -n "$IPADDR" | xclip -q -se c ;;