diff options
author | 2024-04-07 23:28:10 +0200 | |
---|---|---|
committer | 2024-04-07 23:28:10 +0200 | |
commit | a5ca3d6484f90ab328a6e6f2b8a272c939ac07ac (patch) | |
tree | 0dd9c01378334384fe257baf15f181c29b2ffd77 /config.h | |
parent | f99b17bf297d323b3be957faee73768099b3ac26 (diff) | |
download | dwm-a5ca3d6484f90ab328a6e6f2b8a272c939ac07ac.tar.gz dwm-a5ca3d6484f90ab328a6e6f2b8a272c939ac07ac.tar.bz2 dwm-a5ca3d6484f90ab328a6e6f2b8a272c939ac07ac.zip |
alpha patch applied
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 23 |
1 files changed, 14 insertions, 9 deletions
@@ -11,15 +11,20 @@ static const double inactiveopacity = 0.85f; /* Window opacity when it's inact static Bool bUseOpacity = True; /* Starts with opacity on any unfocused windows */ static const char *fonts[] = { "Terminus:size=12" }; static const char dmenufont[] = "Terminus:size=12"; -static const char col_gray1[] = "#222222"; -static const char col_gray2[] = "#444444"; -static const char col_gray3[] = "#bbbbbb"; -static const char col_gray4[] = "#eeeeee"; static const char col_cyan[] = "#1793d0"; +static const char col_white[] = "#ffffff"; +static const char col_black[] = "#000000"; +static const unsigned int baralpha = 0x70; +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 }, + [SchemeNorm] = { col_cyan, col_black, col_black }, + [SchemeSel] = { col_cyan, col_black, col_cyan }, +}; +static const unsigned int alphas[][3] = { + /* fg bg border*/ + [SchemeNorm] = { OPAQUE, baralpha, borderalpha }, + [SchemeSel] = { OPAQUE, baralpha, borderalpha }, }; /* tagging */ @@ -48,7 +53,7 @@ static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen win static const Layout layouts[] = { /* symbol arrange function */ - { "[T]", tile }, /* first entry is default */ + { "", tile }, /* first entry is default */ { "[F]", NULL }, /* no layout function means floating behavior */ { "[M]", monocle }, }; @@ -69,7 +74,7 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ -static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_black, "-nf", col_cyan, "-sb", col_cyan, "-sf", col_black, NULL }; static const char *termcmd[] = { "st", NULL }; static const Key keys[] = { @@ -93,7 +98,7 @@ static const Key keys[] = { { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, - { MODKEY|ShiftMask, XK_f, togglefullscr, {0} }, + { MODKEY, XK_f, togglefullscr, {0} }, { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, { MODKEY, XK_comma, focusmon, {.i = -1 } }, { MODKEY, XK_period, focusmon, {.i = +1 } }, |