From 120e8401074254d39be916ad83bafda9ef25e6a9 Mon Sep 17 00:00:00 2001 From: Quentin Rameau Date: Sat, 19 Dec 2015 09:32:55 +0100 Subject: Add config option for word delimiters Let the user configure word boundaries other than ' ', only works with the portable character set. --- config.def.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config.def.h') 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[] = " "; -- cgit v1.2.3-13-gbd6f