diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-07-15 22:25:36 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-07-15 22:25:36 -0700 |
| commit | a3e90c07a442b1a97d2dac19ed0ddcbc526e4ff6 (patch) | |
| tree | dbd72ce40e9d08c62fd7e367dd5f5f3bed0b3cd4 | |
| parent | 5927e68bb7cdd4e12f62dfc34d14d9093a38419a (diff) | |
Added dmenu support in makefile
| -rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -31,6 +31,9 @@ ifneq (, $(PICKER)) ifeq ($(shell which $(PICKER)),$(shell which pick 2>/dev/null || echo '<none>')) PICKER_FLAG=-D'PICK(prompt, initial)="pick -q \"" initial "\""' endif + ifeq ($(shell which $(PICKER)),$(shell which dmenu 2>/dev/null || echo '<none>')) + PICKER_FLAG=-D'PICK(prompt, initial)="dmenu -p \"" prompt "\""' + endif endif CFLAGS += $(PICKER_FLAG) |
