aboutsummaryrefslogtreecommitdiffstats
path: root/noiceconf.def.h
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2019-08-22 15:09:29 +0100
committersin <sin@2f30.org>2019-08-22 17:21:29 +0100
commit58edea240e40eeb006923f012a6bb792fb8ef8a7 (patch)
tree8c3a04522acecc24a2cba5dc66af97389f678b9e /noiceconf.def.h
parent784551aa55ff996e103443d1bbe65684fd4d7463 (diff)
downloadnoice-58edea240e40eeb006923f012a6bb792fb8ef8a7.tar.gz
Fix spawn*() so it can report errors to the caller
If nopen is not in PATH, noice will briefly print a warning about it so the user knows. Also, add NOPENCMD define in noiceconf.def.h to specify the default plumber program.
Diffstat (limited to 'noiceconf.def.h')
-rw-r--r--noiceconf.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/noiceconf.def.h b/noiceconf.def.h
index 4a3513c..d86fd9c 100644
--- a/noiceconf.def.h
+++ b/noiceconf.def.h
@@ -3,6 +3,8 @@
#define CURSR " > "
#define EMPTY " "
+#define NOPENCMD "nopen"
+
int dirorder = 0; /* Set to 1 to sort by directory first */
int mtimeorder = 0; /* Set to 1 to sort by time modified */
int icaseorder = 0; /* Set to 1 to sort by ignoring case */
Un proyecto texto-plano.xyz