dotfiles/_suckless/dmenu/config.h

30 lines
1.2 KiB
C
Raw Normal View History

2021-06-19 15:05:17 +02:00
/* 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 */
2021-10-20 10:20:38 +02:00
static int centered = 0; /* -c option; centers dmenu on screen */
static int min_width = 500; /* minimum width when centered */
2021-06-19 15:05:17 +02:00
/* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = {
2022-03-27 11:53:33 +02:00
"RobotoMono Nerd Font:style=Medium:size=10",
"Noto Color Emoji:style=Regular:size=12",
2021-06-19 15:05:17 +02:00
};
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
static const char *colors[SchemeLast][2] = {
2022-06-12 11:58:28 +02:00
/* fg bg */
2023-02-09 01:36:36 +01:00
[SchemeNorm] = { "#c7c7c7", "#272822" },
2022-11-04 14:39:53 +01:00
[SchemeSel] = { "#e6e1cf", "#005577" },
2022-06-12 11:58:28 +02:00
[SchemeOut] = { "#000000", "#005577" },
2021-06-19 15:05:17 +02:00
};
/* -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[] = " ";
2021-08-26 08:08:47 +02:00
/* Size of the window border */
2021-08-29 16:58:09 +02:00
static unsigned int border_width = 5;