Open ammen99 opened 6 years ago
With the network widget having customisable action on click, maybe we could launch nm-connection-manager
near the widget?
I'm trying to figure out how the clock draws the calendar but I'm drawing a blank :smile:
With the network widget having customisable action on click, maybe we could launch
nm-connection-manager
near the widget? I'm trying to figure out how the clock draws the calendar but I'm drawing a blank 😄
The clock uses a popover iirc (https://docs.gtk.org/gtk3/class.Popover.html)
Thanks! Looks like the popover is bound in the Init function for the clock. Maybe I could experiment a bit and see if something useful would turn up.
My idea didn't turn out as well as I hoped. nm-connection-editor
lists only existing connections which doesn't align with the original of show available ones
Dealing with NetworkManager is rather complicated. Good luck!
Here's code I recently implemented that lets the user pick a network in carbonOS's Setup: https://gitlab.com/carbonOS/setup/-/blob/main/src/pages/network.vala
I believe using system tray (#153) with nm-applet
provides much enough information and features to be a proper replacement for a "native" widget.
Maybe we can even show a list of networks to choose from? Would definitely be cool, although that will require some work.