Open dshoreman opened 5 years ago
Update: Done some testing, seems both possible causes were true.
Built Sway with tray enabled1 and installed both konversation
and qt5-wayland
. Ran QT_QPA_PLATFORM=wayland-egl konversation
to force it to use the Wayland renderer2. Enabled tray icon in settings, and the icon shows up.
Yad on the other hand still did nothing, and doesn't even register any errors in the Swaybar debug output, so clearly it's not using the SNI3 protocol. Waybar also only worked with Konversation, not Nextshot.
Potential Options
nextshot-tray.foo
where foo is whatever language makes SNI easiest (but ideally Nextshot should be self-contained as a single script)1 May not have been required, seems to be set to auto
in the meson_options.txt
file
2 Running without this option resulted in blank UI
3 Status Notifier Item
Tray menu works great in i3, less so on Sway. That is, nothing shows up at all.
Menus aren't supported just yet but theoretically tray icons by themselves should work.
Possible Causes
Worth Trying