summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/config.h b/config.h
index 7745597..e01e231 100644
--- a/config.h
+++ b/config.h
@@ -3,6 +3,7 @@
#include <endian.h>
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
+static const unsigned int alpha = 0x99;
/* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = {
"SauceCodePro Nerd Font:style=Regular:pixelsize=14"
@@ -14,11 +15,20 @@ static const char *colors[SchemeLast][2] = {
[SchemeSel] = { "#ffffff", "#547f62" },
[SchemeOut] = { "#888888", "#191919" },
};
+
+static const unsigned int alphas[SchemeLast][2] = {
+ [SchemeNorm] = { OPAQUE, alpha },
+ [SchemeSel] = { OPAQUE, alpha },
+ [SchemeOut] = { OPAQUE, alpha },
+};
+
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
-static unsigned int lines = 20;
-static unsigned int gapxx = 0;
-static unsigned int border = 10;
-static unsigned int borderline = 1;
+static unsigned int lines = 20;
+static unsigned int gapxx = 10;
+static unsigned int border = 10;
+static unsigned int borderline = 0;
+static unsigned int border_width = 2;
+static unsigned int border_color = 0x547f62;
/*
* Characters not considered part of a word while deleting words