Update gui with wireguard state on every tick#61
Open
nvlbg wants to merge 5 commits intoUnnoTed:masterfrom
Open
Update gui with wireguard state on every tick#61nvlbg wants to merge 5 commits intoUnnoTed:masterfrom
nvlbg wants to merge 5 commits intoUnnoTed:masterfrom
Conversation
Just before this err check is another err check that always returns.
By updating the gui on every tick, changes from `wg-quick` commands ran by the user outside of wireguird will be reflected in the wireguird interface.
Author
|
I have also prepared a different change that adds a "Tunnels" submenu in the tray menu that is implemented on top of the changes from this pull request ( branch in my fork, addresses point 2 of issue #42 ). However, I think I will have to first merge this pull request before I open a pull request for the new change as it seems like github does not support stacked pull requests across forks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

If a user runs
wg-quickcommands in the terminal, wireguird won't reflect the updated wireguard state (tray icon, list row icon status, some fields in the interface and peer sections).This pull request updates wireguird to update those fields on every tick (every 1 second), so changes to the wireguard state from outside of wireguird will be reflected in the ui.