aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2020-05-28 07:35:33 -0500
committerJesús <heckyel@hyperbola.info>2020-05-28 07:35:33 -0500
commit656ce2b41622fec1600784abbbfc9a1acfa92ce9 (patch)
tree9a4a742cd40679966293a3164d049c93ae20a586 /scripts
parentef24bb2504554bf1a906bfe8a5f5db3d052495ee (diff)
downloadi3-config-656ce2b41622fec1600784abbbfc9a1acfa92ce9.tar.lz
i3-config-656ce2b41622fec1600784abbbfc9a1acfa92ce9.tar.xz
i3-config-656ce2b41622fec1600784abbbfc9a1acfa92ce9.zip
Revert "Improve iface"
This reverts commit ef24bb2504554bf1a906bfe8a5f5db3d052495ee.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/i3blocks/iface2
1 files changed, 1 insertions, 1 deletions
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 ;;