BTW, my dmenu replacement on Wayland is just a terminal with fzf:
https://git.sr.ht/~emersion/dotfiles/tree/master/item/bin/menu
Make it a launcher with:
dmenu_path | menu | xargs swaymsg exec
@swiley The script works on X11 as well, FWIW.
@emersion Of course.
I'm just wining (and I know that's bad) that there doesn't seem to be an equivalent to xlib on Wayland that makes it easy to get a canvas and do 2d drawing operations without either using OpenGL directly or pulling in a pretty massive extra library.
@swiley Cairo can do 2D drawing, but yeah you'll need some glue code to setup shm buffers, there's no widespread lightweight lib for this
@emersion So I guess on wayland the VTE is going to become the standard drawing API for small apps?