Compare commits
4 Commits
ac89982df6
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ccbe07b8ee | ||
|
|
a952bd4bde | ||
|
|
570154300c | ||
|
|
5b9f99d846 |
12
config.h
12
config.h
@ -15,22 +15,26 @@ static const int showsystray = 1; /* 0 means no systray */
|
|||||||
static const int showbar = 1; /* 0 means no bar */
|
static const int showbar = 1; /* 0 means no bar */
|
||||||
static const int topbar = 1; /* 0 means bottom bar */
|
static const int topbar = 1; /* 0 means bottom bar */
|
||||||
static const int attachmode = 4; /* 0 master (default), 1 = above, 2 = aside, 3 = below, 4 = bottom */
|
static const int attachmode = 4; /* 0 master (default), 1 = above, 2 = aside, 3 = below, 4 = bottom */
|
||||||
static const char *fonts[] = { "Source Code Pro:size=10", "MaterialIcons:size=11" };
|
static const char *fonts[] = { "RedHatMono:size=10", "MaterialIcons:size=11" };
|
||||||
static const char dmenufont[] = "monospace:size=10";
|
static const char dmenufont[] = "monospace:size=10";
|
||||||
static const char col_gray1[] = "#222222";
|
static const char col_gray1[] = "#222222";
|
||||||
static const char col_gray2[] = "#444444";
|
static const char col_gray2[] = "#444444";
|
||||||
static const char col_gray3[] = "#bbbbbb";
|
static const char col_gray3[] = "#bbbbbb";
|
||||||
static const char col_gray4[] = "#eeeeee";
|
static const char col_gray4[] = "#eeeeee";
|
||||||
static const char col_cyan[] = "#005577";
|
static const char col_cyan[] = "#005577";
|
||||||
static const char col_primary[] = "#d65d0e";
|
// static const char col_primary[] = "#d65d0e";
|
||||||
|
// static const char col_primary[] = "#9ccfd8";
|
||||||
|
static const char col_primary[] = "#94e2d5";
|
||||||
|
static const char col_tag_sel[] = "#403d52";
|
||||||
static const char col_secondary[] = "#504945";
|
static const char col_secondary[] = "#504945";
|
||||||
static const char col_background[] = "#1c1c1c";
|
// static const char col_secondary[] = "#403d52";
|
||||||
|
static const char col_background[] = "#191724";
|
||||||
static const char *colors[][3] = {
|
static const char *colors[][3] = {
|
||||||
/* fg bg border */
|
/* fg bg border */
|
||||||
[SchemeNorm] = { col_gray3, col_gray1, col_secondary },
|
[SchemeNorm] = { col_gray3, col_gray1, col_secondary },
|
||||||
[SchemeSel] = { col_gray4, col_cyan, col_primary },
|
[SchemeSel] = { col_gray4, col_cyan, col_primary },
|
||||||
[SchemeStatus] = { col_gray4, col_background, "#000000" }, // Statusbar right {text,background,not used but cannot be empty}
|
[SchemeStatus] = { col_gray4, col_background, "#000000" }, // Statusbar right {text,background,not used but cannot be empty}
|
||||||
[SchemeTagsSel] = { col_gray4, col_primary, "#000000" }, // Tagbar left selected {text,background,not used but cannot be empty}
|
[SchemeTagsSel] = { col_gray4, col_tag_sel, "#000000" }, // Tagbar left selected {text,background,not used but cannot be empty}
|
||||||
[SchemeTagsNorm] = { col_gray3, col_background, "#000000" }, // Tagbar left unselected {text,background,not used but cannot be empty}
|
[SchemeTagsNorm] = { col_gray3, col_background, "#000000" }, // Tagbar left unselected {text,background,not used but cannot be empty}
|
||||||
[SchemeInfoSel] = { col_gray4, col_background, "#000000" }, // infobar middle selected {text,background,not used but cannot be empty}
|
[SchemeInfoSel] = { col_gray4, col_background, "#000000" }, // infobar middle selected {text,background,not used but cannot be empty}
|
||||||
[SchemeInfoNorm] = { col_gray3, col_background, "#000000" }, // infobar middle unselected {text,background,not used but cannot be empty}
|
[SchemeInfoNorm] = { col_gray3, col_background, "#000000" }, // infobar middle unselected {text,background,not used but cannot be empty}
|
||||||
|
|||||||
1
drw.c
1
drw.c
@ -95,6 +95,7 @@ drw_free(Drw *drw)
|
|||||||
{
|
{
|
||||||
XFreePixmap(drw->dpy, drw->drawable);
|
XFreePixmap(drw->dpy, drw->drawable);
|
||||||
XFreeGC(drw->dpy, drw->gc);
|
XFreeGC(drw->dpy, drw->gc);
|
||||||
|
drw_fontset_free(drw->fonts);
|
||||||
free(drw);
|
free(drw);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
5
dwm.c
5
dwm.c
@ -878,6 +878,9 @@ drawbar(Monitor *m)
|
|||||||
unsigned int i, occ = 0, urg = 0;
|
unsigned int i, occ = 0, urg = 0;
|
||||||
Client *c;
|
Client *c;
|
||||||
|
|
||||||
|
if (!m->showbar)
|
||||||
|
return;
|
||||||
|
|
||||||
if(showsystray && m == systraytomon(m))
|
if(showsystray && m == systraytomon(m))
|
||||||
stw = getsystraywidth();
|
stw = getsystraywidth();
|
||||||
|
|
||||||
@ -1014,7 +1017,7 @@ focusstack(const Arg *arg)
|
|||||||
{
|
{
|
||||||
Client *c = NULL, *i;
|
Client *c = NULL, *i;
|
||||||
|
|
||||||
if (!selmon->sel)
|
if (!selmon->sel || selmon->sel->isfullscreen)
|
||||||
return;
|
return;
|
||||||
if (arg->i > 0) {
|
if (arg->i > 0) {
|
||||||
for (c = selmon->sel->next; c && !ISVISIBLE(c); c = c->next);
|
for (c = selmon->sel->next; c && !ISVISIBLE(c); c = c->next);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user