end4-pC icon indicating copy to clipboard operation
end4-pC copied to clipboard

feat: VPN quick-toggle tile with smart auto-connect

Open hassankhan2608 opened this issue 4 months ago • 6 comments

Problem

NetworkManager supports VPN connections (WireGuard, OpenVPN, etc.) and can
auto-connect them on boot — but there's no UI in the shell to toggle them.
Currently you need to open nm-connection-editor or run nmcli manually.

Request

A VPN quick-toggle tile in the right sidebar that:

  • Shows connection status at a glance
  • Toggle the preferred profile on/off with one click
  • Right-click opens a management dialog with profile list, connect/disconnect,
    import configs, and delete
  • Smart auto-connect: track whether VPN was connected when the shell last shut
    down - only auto-reconnect on next boot if it was; if the user manually
    disconnected before shutdown, leave it off
  • Works alongside NM's own per-profile auto-connect (don't fight it)
  • No additional packages — everything via nmcli

hassankhan2608 avatar Jul 26 '26 13:07 hassankhan2608

PR?

pctrade avatar Jul 26 '26 15:07 pctrade

I thought You can make it better so i haven't tried yet i directly use nmcli right now .

hassankhan2608 avatar Jul 27 '26 05:07 hassankhan2608

Well the truth is I don't use VPN |

pctrade avatar Jul 27 '26 06:07 pctrade

ohk i will try but make sure to add a touch in ui

hassankhan2608 avatar Jul 27 '26 06:07 hassankhan2608

It would be better to place it in the right sidebar with a dialog and perhaps an indicator in the bar when you are connected in the systemicons

pctrade avatar Jul 27 '26 07:07 pctrade

yes thats the plan

hassankhan2608 avatar Jul 27 '26 10:07 hassankhan2608