-
-
Notifications
You must be signed in to change notification settings - Fork 721
feat(network): now supports ephemeral interfaces #2980
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
base: master
Are you sure you want to change the base?
Conversation
|
Can this get some love? :) |
b06955a to
55a0d62
Compare
|
Just rebased from Still using this as a daily driver, and it is highly stable. |
55a0d62 to
2ee52f3
Compare
|
Updated to latest from |
|
Is it possible to do the same for |
The current implementation attempts to probe the interface. I'm assuming this isn't sufficient for Lines 423 to 432 in 2ee52f3
Do you have an open issue that you can reference for the issue you're running into? |
|
Thanks for your answer. It is not sufficient I think, because right now it cannot detect interface change (when VPN is off or on). |
|
@1995parham Have you tried pulling down this PR and testing if it fixes your issue? A big portion of this PR was reorganizing If this PR is insufficient, it might be good to create a new Issue ticket to encourage some discussion on how best to fix the issue. It's very possible that it could end up in this PR, or a fast-follow. |
2ee52f3 to
88862bb
Compare
|
I will do it and let you know. |
|
I've checked it. It works for me 😍 I think this MR deserve more attention. I will continue using it as my daily driver. |
|
Hey @patrick96! Any chance we can get any traction on this? 🙂👍 |
Still need to reload every time the phone is plugged (would be solved with polybar/polybar#2980)
|
Why is this not in upstream!! |
88862bb to
32834a8
Compare
|
@BICH0 Unfortunately, this repo seems to be pretty slow moving. Most of the PRs, especially hotly-anticipated ones like #2868 that are out there right now have been hanging out for a couple of years now. The only PRs that seem to get much traction are related to brand new issue tickets. I don't think @patrick96 has notifications turned on for new PRs 😅 I tried sending him an email back in January, but I imagine it got filtered into his Spam folder. |
32834a8 to
61431d2
Compare
|
Updated to latest. Still daily driving without problems. Tip Arch Linux Users can get this feature now via I update my machine daily, and try to be timely when updating this branch as soon as I see a new version of |
61431d2 to
9fb4e7b
Compare
|
Updated to latest and pushed to Tip Arch Linux Users can get this feature now via |
9fb4e7b to
3647abd
Compare
|
Updated to latest and pushed to Tip Arch Linux Users can get this feature now via |
|
For those wondering, I'm still keeping this up to date. 👍 No recent updates to polybar, but when the next wave comes through, this branch will stay up to date 👍 |
Tip
Arch Linux Users can get this feature now via
polybar-wireguard-gitThis AUR package is kept up to date with the latest version of
polybar.What type of PR is this? (check all applicable)
Description
This updates the Network Module to allow for ephemeral networks. This is especially useful for virtual interfaces that come and go depending on whether or not an application has created it or not.
Additionally, this adds rudimentary support for
wireguardin the net adapter, treating it as a tunnel. Because wireguard does not communicate connected state (given that it's a stealth VPN), the mere existence of the interface assumes that it is connected. Mullvad and MozillaVPN, for instance, create the interface when establishing connection, and discard the interface entirely when disconnecting, so this is a good indicator for that.Related Issues & Documents
Fixes #1164
Fixes #1531
Documentation (check all applicable)