From da081c1b84bda2327b1b585e68344729d208c597 Mon Sep 17 00:00:00 2001 From: Deven Blake Date: Fri, 2 Jul 2021 19:13:48 -0400 Subject: [PATCH] additional stdin passthrough option --- dmenubar/config.def.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dmenubar/config.def.h b/dmenubar/config.def.h index b38faac..ade02c0 100644 --- a/dmenubar/config.def.h +++ b/dmenubar/config.def.h @@ -6,7 +6,11 @@ * it. */ #define BREAK_ON_EOF 0 -static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ +/* output stdin */ +static int stdin_passthrough = 1; + +/* -b option; if 0, dmenu appears at bottom */ +static int topbar = 1; /* -fn option overrides fonts[0]; default X11 font or font set */ static const char *fonts[] = {