A simple notification for wireguard connection status on linux
- Compile the cpp file using your compiler of choice
- Make the owner of the executable from step 1
root
, then add execution privileges to your own user. Use SUID so that you don't have to run the program asroot
each time you want to use it. Make sure no user exceptroot
has the permission to write this file, otherwise you have an active privilege escalation exploit in your system! - Adjust the python script so that it matches your own paths.
- Install the python script dependencies (you need pygobject)
- (Optional) Add a keyboard shortcut to your DE so that you can easily use this tool!