Slackware Current : i3blocks not show IP
Hello, I'm going to use google translator because English is not my native language.
I'm facing a small problem in Slackware Current with i3 + i3blocks.
I installed i3blocks through SlackBuilds. And it works by replacing i3status.
However, it does not display the local IP.
What could it be, by logic?
1. The [iface] block of the i3blocks.conf file is disabled.
But it's not.
It is like this:
[iface]
instance = eth0
color = # 00FF00
interval = 10
separator = false
2. The "/usr/libexec/i3blocks/iface" script that comes bundled with i3blocks is buggy.
But it's not! If I run the script on the terminal, it fulfills what it promises. Displays my local IP address twice.
Still, if I edit the script and change the IPADDR variable to ... "potato" (BATATA, in portuguese), potato appears in the bar of i3blocks! Where the IP should appear. If I put a dummy IP, it also works.
So the script is not setting the variable? But if it is not, how does it work if run in the terminal?
I hope I have managed to explain.
Anyone have any tips?
Thank you.
|