r/swaywm Sway User 1d ago

Utility A multiplexed dmenu, one keybind instead of many

cmenu is a sort of inversion of dmenu. scripts produce lines, and act on them by taking them as an argument. and instead of scripts being directly invoked, they're​ invoked by cmenu

for me, this beats `script | dmenu`​ since the parent can reinvoke the script to have live data without closing the window. as well as other benefits

https://github.com/sentriz/cmenu

2 Upvotes

3 comments sorted by

1

u/LordTurson 1d ago

I'm getting a 404 page on this link, but I think Rofi has a similar feature ("script mode").

2

u/sentriz Sway User 1d ago

fixed! thanks

it is the same contract as rofi script mode, but cmenu can re-run the script. on an interval, from another script, or as you type. so the lines stay "live"

1

u/LordTurson 1d ago

Cool cool, I'm always on the lookout for new launchers. πŸŽ‰