dmenu/config.h

53 lines
1.5 KiB
C
Raw Permalink Normal View History

2020-04-19 16:19:11 +02:00
/* See LICENSE file for copyright and license details. */
/* Default settings; can be overriden by command line. */
2020-11-28 13:36:19 +01:00
static int instant = 0;
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
/* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = {
"monospace:size=13",
"IPAGothic:size=13",
2023-10-12 22:47:12 +02:00
"symbola:size=13",
"Font Awesome 6 Free:size=13",
2023-10-12 22:50:37 +02:00
"Font Awesome 6 Free Solid:size=10",
2023-10-12 22:47:12 +02:00
"Font Awesome 6 Brands:size=13"
};
2020-11-28 13:36:19 +01:00
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
// NORD COLORS:
2020-07-01 23:24:12 +02:00
#define bblack "#000000"
#define nord0 "#2E3440"
#define nord1 "#3B4252"
#define nord2 "#434C5E"
#define nord3 "#4C566A"
#define nord4 "#D8DEE9"
#define nord5 "#E5E9F0"
#define nord6 "#ECEFF4"
#define nord7 "#8FBCBB"
#define nord8 "#88C0D0"
#define nord9 "#81A1C1"
#define nord10 "#5E81AC"
#define nord11 "#BF616A"
#define nord12 "#D08770"
#define nord13 "#EBCB8B"
#define nord14 "#A3BE8C"
#define nord15 "#B48EAD"
2020-04-19 16:19:11 +02:00
static const char *colors[SchemeLast][2] = {
/* fg bg */
2020-07-01 23:24:12 +02:00
[SchemeNorm] = { nord4 , nord0 },
2020-11-28 13:36:19 +01:00
[SchemeSel] = { nord6, nord10 },
2021-06-25 19:35:23 +02:00
[SchemeOut] = { nord0, nord10},
2020-04-19 16:19:11 +02:00
};
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
static unsigned int lines = 0;
static int sidepad = 20;
static int vertpad = 10;
2020-04-19 16:19:11 +02:00
/*
* Characters not considered part of a word while deleting words
* for example: " /?\"&[]"
*/
static const char worddelimiters[] = " ";
2023-10-12 22:47:12 +02:00