Rewrite of plugin
The plugin has been rewritten and a lot of things are done differently:
- Instead of notify-send the KNotifications API is used, this makes the notifications more configurable
- The nordvpn commands are not executed using a
system()
call and some pipes for the notifications but asynchronous QProcesses - The query parsing has been changed to adapt to new features of the nordvpn cli, for instance with the query
vpn <target>
you can also reconnect to a different server. - You can enable fetching your public ip from ifconfig.me/ip and displaying it in the status notification.
- The status is only fetched when the query starts with vpn or nordvpn, then it is reused for the match session