summaryrefslogtreecommitdiff
path: root/.config/dmenu/config.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2026-05-06 08:10:01 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2026-05-06 08:22:22 +0200
commit10e16c2fb2266bb2b46ec7ea64d721de0c29a0d9 (patch)
treeee719d25f2a15ec9bb5de52f4b703578487184b6 /.config/dmenu/config.h
parent6e4f65568cbf8cfad5e1bccb02db01880ef2ea5f (diff)
downloadconfig-10e16c2fb2266bb2b46ec7ea64d721de0c29a0d9.tar.gz
config-10e16c2fb2266bb2b46ec7ea64d721de0c29a0d9.zip
Suckless software configs
Diffstat (limited to '.config/dmenu/config.h')
-rw-r--r--.config/dmenu/config.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/.config/dmenu/config.h b/.config/dmenu/config.h
new file mode 100644
index 0000000..fb69c65
--- /dev/null
+++ b/.config/dmenu/config.h
@@ -0,0 +1,23 @@
1/* See LICENSE file for copyright and license details. */
2/* Default settings; can be overriden by command line. */
3
4static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
5/* -fn option overrides fonts[0]; default X11 font or font set */
6static const char *fonts[] = {
7 "monospace:size=12"
8};
9static const char *prompt = NULL; /* -p option; prompt to the left of input field */
10static const char *colors[SchemeLast][2] = {
11 /* fg bg */
12 [SchemeNorm] = { "#000000", "#f0f0f4" },
13 [SchemeSel] = { "#000000", "#fffff8" },
14 [SchemeOut] = { "#000000", "#00ffff" },
15};
16/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
17static unsigned int lines = 0;
18
19/*
20 * Characters not considered part of a word while deleting words
21 * for example: " /?\"&[]"
22 */
23static const char worddelimiters[] = " ";

Generated with cgit - Back to sebastiano.tronto.net