summaryrefslogtreecommitdiff
path: root/wm/dmenu-5.3/config.def.h
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2025-07-23 21:35:48 -0500
committerstkhan <personal@slickd.xyz>2025-07-23 21:35:48 -0500
commit7bf6f5dabe3b0530dc1811663a5498acfa1df879 (patch)
tree04f682c70dda155df024725c39f5093fdf051316 /wm/dmenu-5.3/config.def.h
parent631750d87c2711d2c29c5522a0d8de7744080ac3 (diff)
Dmenu overhaul
Diffstat (limited to 'wm/dmenu-5.3/config.def.h')
-rw-r--r--wm/dmenu-5.3/config.def.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/wm/dmenu-5.3/config.def.h b/wm/dmenu-5.3/config.def.h
new file mode 100644
index 0000000..d336705
--- /dev/null
+++ b/wm/dmenu-5.3/config.def.h
@@ -0,0 +1,34 @@
+/* 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 */
+static const unsigned int alpha = 0xff; /* Amount of opacity. 0xff is opaque */
+/* -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] = { "#bbbbbb", "#222222" },
+ [SchemeSel] = { "#eeeeee", "#005577" },
+ [SchemeOut] = { "#000000", "#00ffff" },
+};
+
+static const unsigned int alphas[SchemeLast][2] = {
+ [SchemeNorm] = { OPAQUE, alpha },
+ [SchemeSel] = { OPAQUE, alpha },
+ [SchemeOut] = { OPAQUE, alpha },
+};
+/* -l and -g options; controls number of lines and columns in grid if > 0 */
+static unsigned int lines = 0;
+static unsigned int columns = 0;
+
+/*
+ * Characters not considered part of a word while deleting words
+ * for example: " /?\"&[]"
+ */
+static const char worddelimiters[] = " ";
+
+/* Size of the window border */
+static unsigned int border_width = 0;