summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h20
1 files changed, 16 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h
index f49c9d3..37a5b96 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1,9 +1,10 @@
/* See LICENSE file for copyright and license details. */
/* Default settings; can be overriden by command line. */
+static const unsigned int alpha = 0x80; /* Amount of opacity. 0xff is opaque */
static int topbar = 0; /* -b option; if 0, dmenu appears at bottom */
static int centered = 1; /* -c option; centers dmenu on screen */
-static int min_width = 600; /* minimum width when centered */
+static int min_width = 500; /* minimum width when centered */
/* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = {
"Sauce Code Pro:size=11"
@@ -11,18 +12,29 @@ static const char *fonts[] = {
static const char *prompt = "RUN: ";//NULL; /* -p option; prompt to the left of input field */
static const char *colors[SchemeLast][2] = {
/* fg bg */
- [SchemeNorm] = { "#cccccc", "#282c34" },
+ //[SchemeNorm] = { "#cccccc", "#282c34" },
+ [SchemeNorm] = { "#cccccc", "#0e0911" },
[SchemeSel] = { "#1c1f24", "#c678dd" },
[SchemeSelHighlight] = { "#000000", "#51afef" },
[SchemeNormHighlight] = { "#000000", "#51afef" },
//[SchemeMid] = { "#000000", "#51afef" },
- [SchemeMid] = { "#cccccc", "#282c34" },
+ //[SchemeMid] = { "#cccccc", "#282c34" },
+ [SchemeMid] = { "#cccccc", "#0e0911" },
[SchemeOut] = { "#d7d7d7", "#1c1f24" },
};
+static const unsigned int alphas[SchemeLast][2] = {
+ [SchemeNorm] = { OPAQUE, alpha },
+ [SchemeSel] = { OPAQUE, OPAQUE },
+ [SchemeSelHighlight] = { OPAQUE, OPAQUE },
+ [SchemeNormHighlight] = { OPAQUE, OPAQUE },
+ [SchemeMid] = { OPAQUE, OPAQUE },
+ [SchemeOut] = { OPAQUE, OPAQUE },
+};
+
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
static unsigned int lines = 12;
-static unsigned int columns = 3;
+static unsigned int columns = 1;
/* -h option; minimum height of a menu line */
static unsigned int lineheight = 24;
static unsigned int min_lineheight = 24;