Update borders
Fix semi transparent borders Change active window border color
This commit is contained in:
parent
a5b1ae0e02
commit
5cdd3b25d6
5
config.h
5
config.h
@ -18,7 +18,7 @@
|
|||||||
#define XF86Launch1 0x1008ff41
|
#define XF86Launch1 0x1008ff41
|
||||||
|
|
||||||
/* appearance */
|
/* appearance */
|
||||||
static const unsigned int borderpx = 0; /* border pixel of windows */
|
static const unsigned int borderpx = 4; /* border pixel of windows */
|
||||||
static const unsigned int gappx = 5; /* gaps between windows */
|
static const unsigned int gappx = 5; /* gaps between windows */
|
||||||
static const unsigned int snap = 32; /* snap pixel */
|
static const unsigned int snap = 32; /* snap pixel */
|
||||||
static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */
|
static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */
|
||||||
@ -35,10 +35,11 @@ static const char col_gray2[] = "#303030";
|
|||||||
static const char col_gray3[] = "#424242";
|
static const char col_gray3[] = "#424242";
|
||||||
static const char col_gray4[] = "#b1b1b1";
|
static const char col_gray4[] = "#b1b1b1";
|
||||||
static const char col_gray5[] = "#c0c0c0";
|
static const char col_gray5[] = "#c0c0c0";
|
||||||
|
static const char col_border[] = "#0D47A1";
|
||||||
static const char *colors[][3] = {
|
static const char *colors[][3] = {
|
||||||
/* fg bg border */
|
/* fg bg border */
|
||||||
[SchemeNorm] = { col_gray4, col_gray0, col_gray1 },
|
[SchemeNorm] = { col_gray4, col_gray0, col_gray1 },
|
||||||
[SchemeSel] = { col_gray4, col_gray2, col_gray3 },
|
[SchemeSel] = { col_gray4, col_gray2, col_border },
|
||||||
};
|
};
|
||||||
|
|
||||||
/* tagging */
|
/* tagging */
|
||||||
|
1
drw.c
1
drw.c
@ -204,6 +204,7 @@ drw_clr_create(Drw *drw, Clr *dest, const char *clrname)
|
|||||||
DefaultColormap(drw->dpy, drw->screen),
|
DefaultColormap(drw->dpy, drw->screen),
|
||||||
clrname, dest))
|
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
|
/* Wrapper to create color schemes. The caller has to call free(3) on the
|
||||||
|
Loading…
Reference in New Issue
Block a user