> For the complete documentation index, see [llms.txt](https://benz.gitbook.io/walker/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://benz.gitbook.io/walker/dmenu.md).

# Dmenu

Walker can be used as a basic dmenu. The following flags can be used:

| flag                | description                                          |
| ------------------- | ---------------------------------------------------- |
| `-d, --dmenu`       | use Walker as dmenu                                  |
| `-I, --inputonly`   | hides the list                                       |
| `-i, --index`       | prints the index instead of the selected text        |
| `-p, --placeholder` | set the input placeholder                            |
| `-c, --current`     | marks the current value (with a css class `current`) |
| `-k, --keepopen`    | keeps Walker open after selection                    |
| `-e, --exit`        | exit after this dmenu call. only when using service  |

## Example

```bash
echo `first\nsecond\nthird` | walker -d
```
