This project is an attempt to create a launcher, that behaves decently on sway, but also works on other window managers. It may or may not work on some DEs - I don't care much about it. For what I managed to test so far, see the Compatibility chart.
pygobject to create a themeable, searchable, gtk3-based system launchers w/ some optional features:
.desktopentries-based system menu;
[-f | -fn FN]argument);
[-a | -af AF]argument);
sgtk-dmenucommand: search and run commands in
sgtk-barcommand: user-defined horizontal or vertical button bar;
sgtk-gridcommand: a GNOME-like application grid.
There's a C++ version under development. Thanks in advance for testing.
Well, I didn't even think that sway needed a menu, being happy with wofi and dmenu-wayland. I started coding just to find out what the Desktop Menu Specification looks like, and also to learn some more pygobject. The best menu I know, however, does not (yet?) behave well on sway. So, I thought to share the code, which has already taken me more time that I had ever expected.
The problem to resolve on sway, was, that the Gtk.Menu class behaves differently / unexpectedly when open over Wayland and X11 windows. To work it around, the script opens the menu over a (semi-)transparent, floating window, that covers all the screen.
Install sgtk-menu from AUR.
sudo dnf install sgtk-menu
See wiki for more info.