summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2015-12-19 09:32:55 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-12-19 20:32:14 +0100
commit120e8401074254d39be916ad83bafda9ef25e6a9 (patch)
treeceab3194f5f8c68ab70ecd4518b7a2b9d2f22fc6 /config.def.h
parent32f2564dbbbf5aeafb7190a3d35066142f34448f (diff)
Add config option for word delimiters
Let the user configure word boundaries other than ' ', only works with the portable character set.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index a9122f7..8db1dda 100644
--- a/config.def.h
+++ b/config.def.h
@@ -15,3 +15,9 @@ static const char *outbgcolor = "#00ffff";
static const char *outfgcolor = "#000000";
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
static unsigned int lines = 0;
+
+/*
+ * Characters not considered part of a word while deleting words
+ * for example: " /?\"&[]"
+ */
+static const char worddelimiters[] = " ";