Added dmenu support in makefile
This commit is contained in:
parent
5927e68bb7
commit
a3e90c07a4
3
Makefile
3
Makefile
@ -31,6 +31,9 @@ ifneq (, $(PICKER))
|
|||||||
ifeq ($(shell which $(PICKER)),$(shell which pick 2>/dev/null || echo '<none>'))
|
ifeq ($(shell which $(PICKER)),$(shell which pick 2>/dev/null || echo '<none>'))
|
||||||
PICKER_FLAG=-D'PICK(prompt, initial)="pick -q \"" initial "\""'
|
PICKER_FLAG=-D'PICK(prompt, initial)="pick -q \"" initial "\""'
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(shell which $(PICKER)),$(shell which dmenu 2>/dev/null || echo '<none>'))
|
||||||
|
PICKER_FLAG=-D'PICK(prompt, initial)="dmenu -p \"" prompt "\""'
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
CFLAGS += $(PICKER_FLAG)
|
CFLAGS += $(PICKER_FLAG)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user