/* 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 */ static int centered = 1; /* -c option; centers dmenu on screen */ static int min_width = 500; /* minimum width when centered */ static const int user_bh = 5; /* add an defined amount of pixels to the bar height */ static unsigned int border_width = 1; /* Size of the window border */ /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ static unsigned int lines = 10; /* * Characters not considered part of a word while deleting words * for example: " /?\"&[]" */ static const char worddelimiters[] = " "; /* -fn option overrides fonts[0]; default X11 font or font set */ /* -p option; prompt to the left of input field */ static const char *prompt = NULL; static const char *fonts[] = { "Mononoki:size=15:antialias=true:autohint=true", "JetBrainsMono Nerd Font:size=15:autohint=true", "JoyPixels:size=15:antialias=true:autohint=true" // ICONS // "SauceCodePro Nerd Font Mono:weight=bold:size=15", // "Hack:size=11:antialias=true:autohint=true","monospace:size=15" }; static const unsigned int alpha = 0xDD; /* Amount of opacity. 0xff is opaque */ static const char *colors[SchemeLast][2] = { /* fg bg */ [SchemeNorm] = { "#bbbbbb", "#000000" }, [SchemeSel] = { "#eeeeee", "#333333" }, [SchemeOut] = { "#000000", "#111111" }, }; static const unsigned int alphas[SchemeLast][2] = { [SchemeNorm] = { OPAQUE, alpha }, [SchemeSel] = { OPAQUE, alpha }, [SchemeOut] = { OPAQUE, alpha }, };