Aylur / ags

A customizable and extensible shell
GNU General Public License v3.0
2.24k stars 117 forks source link

System tray #22

Closed CZemft closed 1 year ago

CZemft commented 1 year ago

Will there be support for a system tray

Aylur commented 1 year ago

Is this a statement, a question, an order perhaps?:D

CZemft commented 1 year ago

Is this a statement, a question, an order perhaps?:D

A bit of a question

loissascha commented 1 year ago

I'd definitely appreciate a system tray :)

vaxerski commented 1 year ago

Is this a statement, a question, an order perhaps?:D

5kh364.jpg

aestheticjmack commented 1 year ago

This is amazing, switched from waybar, I would love something for system tray!

kotontrion commented 1 year ago

I started implementing a system tray over at my fork. But there are currently still a lot of issues with it and I currently don't have much time to work on this. Maybe someone can use this as a starting point.

benthejack-vuw commented 1 year ago

I'm also implementing a system tray - slow progress but have some basics in place (things registering and icons -mostly- showing). I'll have a look at yours @kotontrion and see if we can combine efforts (is yours based on the gnome-shell version? I'm taking a lot of ques from that now I know it exists).

My personal goal with the system tray is to implement it both as a service that provides access to dbus proxies with helper methods for getting icons and menus etc... This will enable absolute customization (which lets face it it the reason we all love things like Ags).

For those who just want to get a pretty bog-standard system tray up and running quickly I will also to build a basic widget that uses the service with simple css classes for styling that can just be added like ags.Widget.SystemTray({...}) or something. I'll probably talk to @Aylur a bit more about this to see what he thinks is the tidiest solution once I've made a bit more progress and pushed an initial commit to my fork.

kotontrion commented 1 year ago

The current state of my fork has registration/de-registration of items working, icons, tooltips, etc are working too. Interaction with the items works as well, except showing the menu, i'm currently looking into how dbusmenu works, which is needed for this.

is yours based on the gnome-shell version? I'm taking a lot of ques from that now I know it exists

I didn't know about this. Will have a look at this. Might be helpful.

My personal goal with the system tray is to implement it both as a service that provides access to dbus proxies with helper methods for getting icons and menus etc... This will enable absolute customization (which lets face it it the reason we all love things like Ags).

This is exactly what i was doing.