BTW, my dmenu replacement on Wayland is just a terminal with fzf:

Make it a launcher with:

dmenu_path | menu | xargs swaymsg exec

@emersion So I guess on wayland the VTE is going to become the standard drawing API for small apps?


@swiley The script works on X11 as well, FWIW.

· · Web · 1 · 0 · 0

@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

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!