/wlines

Dynamic menu (like dmenu) for Windows

Primary LanguageCGNU General Public License v3.0GPL-3.0

wlines

Dynamic menu for Windows - inspired by the suckless dmenu.

Download

Each push to master builds a new release that you can download.

Usage

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:

image

The user can then filter by typing in the textbox:

image

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.

Build steps

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.

License

This project is licensed under the GNU General Public License v3.0. See LICENSE for more details.