Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] Do not require the user to specify an interface #26

Open
kacejot opened this issue Nov 25, 2019 · 5 comments
Open

[feature request] Do not require the user to specify an interface #26

kacejot opened this issue Nov 25, 2019 · 5 comments

Comments

@kacejot
Copy link

kacejot commented Nov 25, 2019

Awesome WM config file should know nothing about current machine network interfaces.
That is not portable way.
I just want to push my configs to the repo and be able to make them work on another machine without any tweaking (I have enough things to tweak on fresh Arch Linux machine).

Regards!

@pltanton
Copy link
Owner

Why can't you calculate your interface with some shell exution instead of hardcoded string if you have a generic rule how to get it?

@kacejot
Copy link
Author

kacejot commented Nov 26, 2019

Sure thing, I can parse ip link output. But that not what user must do (most users expect working widget out of the box). All the interfaces should be parsed automatically - that would be a cool feature. Do you agree?

@mariodsantana
Copy link

FWIW, I just submitted a PR that does this. Just don't specify interfaces, and it will parse ip link every time it refreshes. :)

@pltanton
Copy link
Owner

@mariodsantana as I understand you parse interface only for wired connection or wireless should also works?

@mariodsantana
Copy link

@pltanton - yes, wireless interfaces are detected, but there's no wireless-specific info in the popup or anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants