add patch to make borders opaque
This commit is contained in:
parent
d8cd0278be
commit
5f8b8f6490
7 changed files with 8 additions and 5 deletions
8
config.h
8
config.h
|
|
@ -6,8 +6,9 @@ static unsigned int gappx = 10; /* gaps between windows */
|
|||
static unsigned int snap = 32; /* snap pixel */
|
||||
static int showbar = 1; /* 0 means no bar */
|
||||
static int topbar = 0; /* 0 means bottom bar */
|
||||
static const char *fonts[] = { "Iosevka Custom:size=10" };
|
||||
static const char dmenufont[] = "Iosevka Custom:size=10";
|
||||
static char font[] = { "Iosevka:size=10" };
|
||||
static const char *fonts[] = { font };
|
||||
static const char dmenufont[] = "Iosevka:size=10";
|
||||
static char normbgcolor[] = "#222222";
|
||||
static char normbordercolor[] = "#444444";
|
||||
static char normfgcolor[] = "#bbbbbb";
|
||||
|
|
@ -71,7 +72,8 @@ static const char *vol_mute[] = { "wpctl", "set-mute", "@DEFAULT_AUDIO_SINK@", "
|
|||
* Xresources preferences to load at startup
|
||||
*/
|
||||
ResourcePref resources[] = {
|
||||
{ "color0", STRING, &normbgcolor },
|
||||
{ "font", STRING, &font },
|
||||
{ "color0", STRING, &normbgcolor },
|
||||
{ "color0", STRING, &normbordercolor },
|
||||
{ "color10", STRING, &normfgcolor },
|
||||
{ "color10", STRING, &selbgcolor },
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
|
|||
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
|
||||
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
|
||||
CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -O3 -flto ${INCS} ${CPPFLAGS}
|
||||
LDFLAGS = ${LIBS} -fuse-ld=mold
|
||||
LDFLAGS = ${LIBS}
|
||||
|
||||
# Solaris
|
||||
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
|
||||
|
|
|
|||
3
drw.c
3
drw.c
|
|
@ -201,7 +201,8 @@ drw_clr_create(Drw *drw, Clr *dest, const char *clrname)
|
|||
if (!XftColorAllocName(drw->dpy, DefaultVisual(drw->dpy, drw->screen),
|
||||
DefaultColormap(drw->dpy, drw->screen),
|
||||
clrname, dest))
|
||||
die("error, cannot allocate color '%s'", clrname);
|
||||
die("error, cannot allocate color '%s'", clrname);
|
||||
dest->pixel |= 0xff << 24;
|
||||
}
|
||||
|
||||
/* Wrapper to create color schemes. The caller has to call free(3) on the
|
||||
|
|
|
|||
BIN
drw.o
BIN
drw.o
Binary file not shown.
BIN
dwm
BIN
dwm
Binary file not shown.
BIN
dwm.o
BIN
dwm.o
Binary file not shown.
BIN
util.o
BIN
util.o
Binary file not shown.
Loading…
Reference in a new issue