You are not logged in.
Hello,
Here's my problem: I have two PCs with the wireless interfaces wlp3s0 and wlp7s0 and I have to create two seperate conky config files for my computers for a piece of code that looks like this:
${if_up wlp3s0}${exec iwgetid -r}${else}*${endif} ${color1}]${color0}
I tried ${exec echo wlp3s0} or ${exec ls /sys/class/net | grep wlp} but none of them work (the condition returns false).
Is there a way to do this without the use of any bash/lua/python script? Thank you in advance
Offline
So, you want the same conky config to work on both machines? Is that the goal?
It would be easier to use a udev rule to change the names of the interfaces...
Moving to NC...
Offline
I think I'll just do that, thanks for the reply!
Offline