2022-01-23 00:10:41 +00:00
|
|
|
/* See LICENSE file for copyright and license details. */
|
|
|
|
/* Default settings; can be overriden by command line. */
|
|
|
|
|
2022-02-24 01:21:48 +00:00
|
|
|
/* -b option; if 0, dmenu appears at bottom */
|
|
|
|
static int topbar = 0;
|
|
|
|
|
2022-01-23 00:10:41 +00:00
|
|
|
/* -fn option overrides fonts[0]; default X11 font or font set */
|
|
|
|
static const char *fonts[] = {
|
2022-02-19 23:58:43 +00:00
|
|
|
"Iosevka:pixelsize=14:antialias=true:autohint=true"
|
2022-01-23 00:10:41 +00:00
|
|
|
};
|
2022-02-24 01:18:30 +00:00
|
|
|
|
2022-02-24 01:21:48 +00:00
|
|
|
/* -p option; prompt to the left of input field */
|
2022-02-24 18:02:13 +00:00
|
|
|
static const char *prompt = NULL;
|
2022-02-24 01:21:48 +00:00
|
|
|
|
|
|
|
/* colours from cols */
|
|
|
|
#include "/home/spy/.config/cols/dmenu.h"
|
2022-02-24 01:18:30 +00:00
|
|
|
|
2022-01-23 00:10:41 +00:00
|
|
|
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
|
2022-02-24 18:02:13 +00:00
|
|
|
static unsigned int lines = 0;
|
2022-01-23 00:10:41 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Characters not considered part of a word while deleting words
|
|
|
|
* for example: " /?\"&[]"
|
|
|
|
*/
|
|
|
|
static const char worddelimiters[] = " ";
|