From a172af29b67c299d21238279b2836d74bbe89283 Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Fri, 22 Mar 2019 18:36:58 +0100 Subject: [PATCH] added desktop config --- config_desktop.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 config_desktop.h diff --git a/config_desktop.h b/config_desktop.h new file mode 100644 index 0000000..8c67c36 --- /dev/null +++ b/config_desktop.h @@ -0,0 +1,23 @@ +/* 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 */ +/* -fn option overrides fonts[0]; default X11 font or font set */ +static const char *fonts[] = { + "SauceCodePro Nerd Font Mono:style=Regular:pixelsize=14:antialias=true:autohint=true" +}; +static const char *prompt = NULL; /* -p option; prompt to the left of input field */ +static const char *colors[SchemeLast][2] = { + /* fg bg */ + [SchemeNorm] = { "#bbbbbb", "#222222" }, + [SchemeSel] = { "#eeeeee", "#005577" }, + [SchemeOut] = { "#000000", "#00ffff" }, +}; +/* -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[] = " ";