aboutsummaryrefslogtreecommitdiffstats
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, 14 insertions, 6 deletions
diff --git a/config.def.h b/config.def.h
index 6155e37..e8ab761 100644
--- a/config.def.h
+++ b/config.def.h
@@ -16,6 +16,8 @@
/* appearance */
static const int vertpad = 5; /* vertical padding of bar */
static const int sidepad = 5; /* horizontal padding of bar */
+static const unsigned int baralpha = 0xd0;
+static const unsigned int borderalpha = OPAQUE;
static const unsigned int borderpx = 2; /* border pixel of windows */
static const unsigned int snap = 5; /* snap pixel */
static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */
@@ -47,11 +49,11 @@ static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
static const char col_red[] = "#ff0000";
static const char col_cyan[] = "#005577";
-// static const char *colors[][3] = {
-// /* fg bg border */
-// [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
-// [SchemeSel] = { col_gray4, col_cyan, col_red },
-// };
+static const unsigned int alphas[][3] = {
+ /* fg bg border */
+ [SchemeNorm] = { OPAQUE, baralpha, borderalpha },
+ [SchemeSel] = { OPAQUE, baralpha, borderalpha },
+};
laptop (
static char normbgcolor[] = "#222222";
@@ -68,8 +70,8 @@ static char normfgcolor[] = "#b0b1e0";
static char selfgcolor[] = "#0c0e1b";
static char selbordercolor[] = "#d60047";
static char selbgcolor[] = "#b0b1e0";
-
)
+
static char *colors[][3] = {
/* fg bg border */
laptop([SchemeNorm] = { normfgcolor, normbgcolor, normbordercolor },)
@@ -78,6 +80,12 @@ static char *colors[][3] = {
komputer([SchemeSel] = { selfgcolor, selbgcolor, selbordercolor },)
};
+// 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" };