Hi,
I am aware that you can open a network panel in "gnome-control-center"
with the following command.
$ gnome-control-center network
and for "wifi"
panel
$ gnome-control-center wifi
But, is there a way to open wifi
or network
depending upon which is the current active connection ( default gateway interface ). Something like a virtual panel name "active-network"
E.g.
$ gnome-control-center --virtual active-network
Cheers!