commit 07a00911cada8bf4b3bce8623569f31ce411bbf5
parent e2487ab56af2db528b6437155bb9a710ce2187e1
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date: Sun, 15 Jul 2018 13:31:33 +0200
Add dmenu config
Diffstat:
1 file changed, 23 insertions(+), 0 deletions(-)
diff --git a/suckless/dmenu/config.h b/suckless/dmenu/config.h
@@ -0,0 +1,23 @@
+/* See LICENSE file for copyright and license details. */
+/* Default settings; can be overriden by command line. */
+
+static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
+/* -fn option overrides fonts[0]; default X11 font or font set */
+static const char *fonts[] = {
+ "Inconsolata:pixelsize=15:antialias=true:autohint=true"
+};
+static const char *prompt = NULL; /* -p option; prompt to the left of input field */
+static const char *colors[SchemeLast][2] = {
+ /* fg bg */
+ [SchemeNorm] = { "#bbbbbb", "#222222" },
+ [SchemeSel] = { "#eeeeee", "#005577" },
+ [SchemeOut] = { "#000000", "#00ffff" },
+};
+/* -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[] = " ";