Dynamic menu for Windows - inspired by the suckless dmenu.
Each push to master builds a new release that you can download.
Menu entries are passed to wlines through stdin. After the user has made a choice, the result is sent out through stdout.
Running printf 'hello\nworld\n:)' | wlines.exe
or ("hello`nworld`n:") | wlines.exe
if using PowerShell) would bring up this prompt:
The user can then filter by typing in the textbox:
The menu style and behavior can be customized through command-line arguments. Run wlines -h
for a list of these.
wlines by itself doesn't do much. The power comes through using scripts that talk to it. suckless has a list of examples of scripts that can be used with dmenu.
Dave Davenport's rofi (an alternative to dmenu) also has such a list.
In a MinGW environment you can simply run make
(e.g. x86_64-w64-mingw32-make
).
See the Github Actions Workflow for a complete example.
This project is licensed under the GNU General Public License v3.0. See LICENSE for more details.