aboutsummaryrefslogtreecommitdiff
path: root/src/dmenu
diff options
context:
space:
mode:
authoriamcheeseman <[hidden email]>2026-01-28 16:06:16 -0500
committeriamcheeseman <[hidden email]>2026-01-28 16:06:16 -0500
commit73d7a1a7594bf80727fa999ff2111711c5f4cc64 (patch)
tree3cf7d071d514f05ac7eaecead97c0df4e5a05199 /src/dmenu
parentdbbc2a27a45c8a119df3e2aa8bd12876d526c29b (diff)
update stuff frfr
Diffstat (limited to 'src/dmenu')
-rw-r--r--src/dmenu/config.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/dmenu/config.h b/src/dmenu/config.h
new file mode 100644
index 0000000..c9278f5
--- /dev/null
+++ b/src/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[] = {
+ "CommitMono:style=Regular:pixelsize=16: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] = { "#ffffff", "#000000" },
+ [SchemeSel] = { "#ffffff", "#202020" },
+ [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[] = " ";