summaryrefslogtreecommitdiff
path: root/dmenu/config.h
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@gmail.com>2020-05-16 17:43:31 +0000
committerShubham Saini <shubham6405@gmail.com>2020-05-16 17:43:31 +0000
commit16d45c32c20d7b3db8ba2533ca9d414d8cd308f2 (patch)
treef829957546b740e6897eba24c8f49bb4c170044e /dmenu/config.h
gone full suckless
Diffstat (limited to 'dmenu/config.h')
-rw-r--r--dmenu/config.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/dmenu/config.h b/dmenu/config.h
new file mode 100644
index 0000000..091780e
--- /dev/null
+++ b/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 "Hermit:size=10"
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] = { "#bbbbbb", "#222222" },
13 [SchemeSel] = { "#eeeeee", "#005577" },
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[] = " ";