diff options
author | Jesús <heckyel@hyperbola.info> | 2020-05-28 07:35:33 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2020-05-28 07:35:33 -0500 |
commit | 656ce2b41622fec1600784abbbfc9a1acfa92ce9 (patch) | |
tree | 9a4a742cd40679966293a3164d049c93ae20a586 | |
parent | ef24bb2504554bf1a906bfe8a5f5db3d052495ee (diff) | |
download | i3-config-656ce2b41622fec1600784abbbfc9a1acfa92ce9.tar.lz i3-config-656ce2b41622fec1600784abbbfc9a1acfa92ce9.tar.xz i3-config-656ce2b41622fec1600784abbbfc9a1acfa92ce9.zip |
Revert "Improve iface"
This reverts commit ef24bb2504554bf1a906bfe8a5f5db3d052495ee.
-rwxr-xr-x | scripts/i3blocks/iface | 2 |
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 ;; |