dynamic options

Description

This patch adds a flag (-dy) which makes dmenu run the command given to it whenever input is changed with the current input as the last argument and update the option list according to the output of that command.

By default dmenu does not let you change the option list after starting it, this patch adds support for that. It is best used with the -l flag.

(ie. usage: dmenu -dy ls runs ls on whatever directory/file you are currently typing in dmenu and lets you select it)

Download

Author