about summary refs log tree commit diff
path: root/config.h
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-06-10 00:29:31 +0200
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-06-10 00:29:31 +0200
commit81e4bcef4d4385ff9195efc0f014f51f84e9c2fe (patch)
treef3b80ed8b5f77f7b5e272afe2d92ae99c57d505b /config.h
parentAdded ewmhtags [Patch] (diff)
downloaddwm-81e4bcef4d4385ff9195efc0f014f51f84e9c2fe.tar.gz
dwm-81e4bcef4d4385ff9195efc0f014f51f84e9c2fe.tar.bz2
dwm-81e4bcef4d4385ff9195efc0f014f51f84e9c2fe.zip
Added alpha option [Patch]
Diffstat (limited to 'config.h')
-rw-r--r--config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.h b/config.h
index f650e8b..86e469d 100644
--- a/config.h
+++ b/config.h
@@ -14,11 +14,18 @@ static const char col_gray2[]       = "#444444";
 static const char col_gray3[]       = "#bbbbbb";
 static const char col_gray4[]       = "#eeeeee";
 static const char col_cyan[]        = "#005577";
+static const unsigned int baralpha = 0xd0;
+static const unsigned int borderalpha = OPAQUE;
 static const char *colors[][3]      = {
 	/*               fg         bg         border   */
 	[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
 	[SchemeSel]  = { col_gray4, col_cyan,  col_cyan  },
 };
+static const unsigned int alphas[][3]      = {
+	/*               fg      bg        border     */
+	[SchemeNorm] = { OPAQUE, baralpha, borderalpha },
+	[SchemeSel]  = { OPAQUE, baralpha, borderalpha },
+};
 
 /* tagging */
 static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };