Compare commits

..

4 Commits

Author SHA1 Message Date
JuliusHerrmann
ccbe07b8ee update colors, 2023-06-13 23:24:08 +02:00
JuliusHerrmann
a952bd4bde disallow focusing stack when in fullscreen 2022-02-16 00:07:56 +01:00
JuliusHerrmann
570154300c fix draw bar 2022-02-16 00:05:37 +01:00
JuliusHerrmann
5b9f99d846 fix memory leak 2022-02-16 00:03:00 +01:00
7 changed files with 13 additions and 5 deletions

View File

@ -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 topbar = 1; /* 0 means bottom bar */
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 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[] = "#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_background[] = "#1c1c1c";
// static const char col_secondary[] = "#403d52";
static const char col_background[] = "#191724";
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_secondary },
[SchemeSel] = { col_gray4, col_cyan, col_primary },
[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}
[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}

1
drw.c
View File

@ -95,6 +95,7 @@ drw_free(Drw *drw)
{
XFreePixmap(drw->dpy, drw->drawable);
XFreeGC(drw->dpy, drw->gc);
drw_fontset_free(drw->fonts);
free(drw);
}

BIN
drw.o

Binary file not shown.

BIN
dwm

Binary file not shown.

5
dwm.c
View File

@ -878,6 +878,9 @@ drawbar(Monitor *m)
unsigned int i, occ = 0, urg = 0;
Client *c;
if (!m->showbar)
return;
if(showsystray && m == systraytomon(m))
stw = getsystraywidth();
@ -1014,7 +1017,7 @@ focusstack(const Arg *arg)
{
Client *c = NULL, *i;
if (!selmon->sel)
if (!selmon->sel || selmon->sel->isfullscreen)
return;
if (arg->i > 0) {
for (c = selmon->sel->next; c && !ISVISIBLE(c); c = c->next);

BIN
dwm.o

Binary file not shown.

BIN
util.o

Binary file not shown.