This is dmenu transpiled to zig (using translate-c through the build system) and fixed up to compile and run with zig. Took about 3 hours. Most of it was fixing the parts that translate-c couldn’t do on its own, such as vararg functions and goto. If you’re familiar with dmenu, this doesn’t contain the scaffolding: stest, dmenu_run, and dmenu_path, just the core dmenu exe. Most of it is trivial anyways.
For the uninitiated, dmenu is a simple application launcher for the dwm window manager. Basically it does this:
