aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7daec25..6a76459 100644
--- a/Makefile
+++ b/Makefile
@@ -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)