about summary refs log tree commit diff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/config.h b/config.h
index 7e7ab67..351f762 100644
--- a/config.h
+++ b/config.h
@@ -20,13 +20,21 @@ static const char col_cyan[]        = "#005577";
 static const char col_black[]       = "#000000";
 static const char col_aqua[]        = "#00ffff";
 
-static double opacity = 1.0;         /* -o  option; 0 being transparent and 1 being opaque */
+static const unsigned int baralpha = 0xd0;
+static const unsigned int borderalpha = OPAQUE;
 
 static const char *colors[SchemeLast][2] = {
-	/*                  fg          bg    */
+	/*                  fg          bg   */
 	[SchemeNorm] = { col_gray3,  col_gray1},
-	[SchemeSel] =  { col_gray4,  col_cyan },
-	[SchemeOut] =  { col_black,  col_aqua },
+	[SchemeSel]  = { col_gray4,  col_cyan },
+	[SchemeOut]  = { col_black,  col_aqua },
+};
+
+static const unsigned int alphas[][2]      = {
+	/*                 fg       bg    */
+	[SchemeNorm] = { OPAQUE, baralpha },
+	[SchemeSel]  = { OPAQUE, baralpha },
+	[SchemeOut]  = { OPAQUE, baralpha },
 };
 /* -l option; if nonzero, dmenu uses vertical list with given number of lines */
 static unsigned int lines      = 0;