4b1fecd44e
- libdraw, util: add drw.{c,h}, util.{c,h} and update code. - libdraw: fix drw_rect(): use w and h parameter. - libdraw: print errstr if last character in string was ":" (sbase). - libdraw: drw_clr_free() allow valid free(NULL). - config.def.h: set default font to monospace. - cleanup() on exit. - LICENSE: update license string for dmenu -v to 2015. - LICENSE: add myself to LICENSE
20 lines
1 KiB
C
20 lines
1 KiB
C
/* See LICENSE file for copyright and license details. */
|
|
/* vim: expandtab
|
|
*/
|
|
/* Default settings; can be overrided by command line. */
|
|
|
|
static Bool topbar = True; /* -b option; if False, dmenu appears at bottom */
|
|
/* -fn option overrides fonts[0]; default X11 font or font set */
|
|
static const char *fonts[] = {
|
|
"monospace:size=10"
|
|
};
|
|
static const char *prompt = NULL; /* -p option; prompt to the elft of input field */
|
|
static const char *normbgcolor = "#222222"; /* -nb option; normal background */
|
|
static const char *normfgcolor = "#bbbbbb"; /* -nf option; normal foreground */
|
|
static const char *selbgcolor = "#005577"; /* -sb option; selected background */
|
|
static const char *selfgcolor = "#eeeeee"; /* -sf option; selected foreground */
|
|
static const char *outbgcolor = "#00ffff";
|
|
static const char *outfgcolor = "#000000";
|
|
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
|
|
static unsigned int lines = 0;
|