aboutsummaryrefslogtreecommitdiff
path: root/config/suckless/dmenu/config.h
diff options
context:
space:
mode:
authorben <ben@nagy.contact>2025-05-03 14:59:49 -0700
committerben <ben@nagy.contact>2025-05-03 14:59:49 -0700
commited80e5df8c718fc2321904db1b81604d1ed33444 (patch)
tree04bc58346a40cd696f5840bcd3c724684bd5f591 /config/suckless/dmenu/config.h
parentea687c769521b3139c8547a2d4a839842fa7b0fe (diff)
suckless
Diffstat (limited to 'config/suckless/dmenu/config.h')
-rw-r--r--config/suckless/dmenu/config.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/config/suckless/dmenu/config.h b/config/suckless/dmenu/config.h
new file mode 100644
index 0000000..9a33a90
--- /dev/null
+++ b/config/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[] = {
+ "monospace:size=10"
+};
+static const char *prompt = NULL; /* -p option; prompt to the left of input field */
+static const char *colors[SchemeLast][2] = {
+ /* fg bg */
+ [SchemeNorm] = {"#FFFFFF", "#111212"},
+ [SchemeSel] = {"#FF0000"/*"#222222"*/, "#1f211f"},
+ [SchemeOut] = {"#FF0000", "#6a7073"},
+};
+/* -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[] = " ";