WayfireWM / wf-shell

A GTK3-based panel for wayfire
https://wayfire.org/
MIT License
137 stars 35 forks source link

panel network: Implement more detailed information #3

Open ammen99 opened 6 years ago

ammen99 commented 6 years ago

Maybe we can even show a list of networks to choose from? Would definitely be cool, although that will require some work.

psstoyanov commented 3 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:

ammen99 commented 3 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 😄

The clock uses a popover iirc (https://docs.gtk.org/gtk3/class.Popover.html)

psstoyanov commented 3 years ago

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.

psstoyanov commented 3 years ago

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

AdrianVovk commented 3 years ago

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

NamorNiradnug commented 1 year ago

I believe using system tray (#153) with nm-applet provides much enough information and features to be a proper replacement for a "native" widget.