aboutsummaryrefslogtreecommitdiff
path: root/dmenu/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'dmenu/config.def.h')
-rw-r--r--dmenu/config.def.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/dmenu/config.def.h b/dmenu/config.def.h
index b910d62..761bb2d 100644
--- a/dmenu/config.def.h
+++ b/dmenu/config.def.h
@@ -2,6 +2,7 @@
/* Default settings; can be overriden by command line. */
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
+static const unsigned int alpha = 0xbe;
static int centered = 1; /* -c option; centers dmenu on screen */
static int min_width = 500; /* minimum width when centered */
/* -fn option overrides fonts[0]; default X11 font or font set */
@@ -14,6 +15,13 @@ static const char *colors[SchemeLast][2] = {
[SchemeSel] = {"#ffffff", "#575e6e"},
[SchemeOut] = {"#ffffff", "#da5748"},
};
+
+static const unsigned int alphas[SchemeLast][2] = {
+ [SchemeNorm] = { OPAQUE, alpha },
+ [SchemeSel] = { OPAQUE, alpha },
+ [SchemeOut] = { OPAQUE, alpha },
+};
+
/* -l and -g options; controls number of lines and columns in grid if > 0 */
static unsigned int lines = 10;
static unsigned int columns = 1;