dots/.suckless/dmenu/config.h

28 lines
1.1 KiB
C
Raw Normal View History

2020-05-07 22:07:33 +02:00
/* See LICENSE file for copyright and license details. */
/* Default settings; can be overriden by command line. */
2021-01-08 22:23:32 +01:00
static int topbar = 0; /* -b option; if 0, dmenu appears at bottom */
2020-11-01 15:14:40 +01:00
static int centered = 0; /* -c option; centers dmenu on screen */
2020-05-07 23:10:33 +02:00
static int min_width = 500; /* minimum width when centered */
2020-05-07 22:07:33 +02:00
/* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = {
2020-12-10 15:06:53 +01:00
"Iosevka Term SS08:size=14"
2020-05-07 22:07:33 +02:00
};
2021-01-08 22:26:53 +01:00
static const char *prompt = ""; /* -p option; prompt to the left of input field */
2020-05-07 22:07:33 +02:00
static const char *colors[SchemeLast][2] = {
/* fg bg */
2020-11-01 15:14:40 +01:00
[SchemeNorm] = { "#555555", "#111111" },
[SchemeSel] = { "#eeeeee", "#111111" },
[SchemeOut] = { "#eeeeee", "#eeeeee" },
2020-05-07 22:07:33 +02:00
};
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
2021-01-08 22:28:32 +01:00
static unsigned int lines = 9;
2020-05-07 22:07:33 +02:00
/*
* Characters not considered part of a word while deleting words
* for example: " /?\"&[]"
*/
static const char worddelimiters[] = " ";
2020-05-07 23:21:44 +02:00
static const unsigned int border_width = 1;