Skip to content

Update gui with wireguard state on every tick#61

Open
nvlbg wants to merge 5 commits intoUnnoTed:masterfrom
nvlbg:dynamically_display_wg_quick_changes
Open

Update gui with wireguard state on every tick#61
nvlbg wants to merge 5 commits intoUnnoTed:masterfrom
nvlbg:dynamically_display_wg_quick_changes

Conversation

@nvlbg
Copy link

@nvlbg nvlbg commented Oct 30, 2024

If a user runs wg-quick commands 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.

nvlbg added 5 commits October 30, 2024 23:49
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.
@nvlbg
Copy link
Author

nvlbg commented Oct 31, 2024

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.

Screenshot_select-area_20241031024008

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

Successfully merging this pull request may close these issues.

1 participant