New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
add system tray module #87
add system tray module #87
Conversation
d05c0b7
to
ada8ee7
Compare
Great! I'll give it a try as soon as I settle down behind my desk (tonight). |
ada8ee7
to
2519487
Compare
I managed to launch your
|
@nwg-piotr Excellent 馃憤 I see the azote icon was not found so it rendered the fallback icon:
I'll look into that now. |
Great! Will check the progress in the morning. It's 4 am here. :) |
yikes, sorry if I woke you. FYI missing icon fixed. |
@nwg-piotr I've managed to get the menu's working! This makes use of the I struggled to get python to recognise the |
It looks excellent! If it comes to virtual environments: they are great, but cause issues, too, at least in PyCharm. Lately I use my system python. |
flameshot ends up in positional arguments missing:
|
oh cool, so flameshot is doing a bunch of things differently which I need to complete implementing:
These are basically differences in libappindicator and full SNI implementations. I'll get stuck in and fill in the missing pieces 馃憤 |
Yes, I heard it's a mess. That's why gnome guys gave up on the tray. But people are strangely attached to it, for some mysterious reason. |
@nwg-piotr yeah its fragmented. Fixes pushed 馃帀 |
It must be 2:30 am in your place! 馃ぃ No more problem with the flameshot icon. Good job! I wonder why I see no Chromium icon. I remember seeing it previously. Same applies to |
It is 12:45AM so yeah just about time to log off. I don't use Chromium so can't check yet, but if you're not seeing anything chromium related in the logs then that means its using another protocol other than SNI over dbus. It may well be using the xembed protocol, which this solution definitely does not support. |
For what its worth, this solution is now very close to feature parity with Waybars tray implementation. |
I don't care about the Chomium icon. I never use it residently. But the nm-applet icon does appear in Waybar, if I remember well. |
Also last before i go to bed...i just tested nm-applet --indicator This instructs it to use the libappindicator lib which is a partial SNI implementation. |
Maybe I'm doing something wrong.... |
So am I. Just added |
It works after restarting sway. Many thanks for your contribution! |
Let me know when it's ready to merge. It seems to have no config yet (?). |
No worries at all, this has been really interesting to work on. I've got some errors showing after opening/closing the nm-applet menu, so I will fix that tomorrow evening. Will ping you when its ready 馃憤 |
@nwg-piotr unless you have any feedback, I think this is ready to go. |
Also some interesting reading on the effort to create a new app indicator protocol: |
Yes, I saw this last night somewhere on reddit. Your PR seems not to contain any config GUI. No problem, but please check if these are all keys:
|
Yes those are the ones used, though it works fine without any settings at all. I'm more than happy to add settings into |
This would take me half an hour... :) |
The minimum requirement is to add |
no worries, config added. |
a6d5945
to
46f3972
Compare
Cheers for merging 馃帀 Happy to address any bugs and improvements anyone has. |
Thanks again for the great module! I'll need to add the dependency check. As the For use in my flagship, the full shell implementation in ArchLabs Linux, I'll have |
This is an attempt to create an
SNI
based system tray module fornwg-panel
.Progress:
DbusmenuGtk3
I think the menu's can be implemented by leveraging the libdbusmenu library. There is example python code in the following two tests:
I'm a front-end developer by day so I apologise in advance for butchering the python language 馃槈 All feedback welcome!
This addresses #41