update flexipatch base
Update void-packages template / Update xbps-src template (push) Successful in 56s
Details
Update void-packages template / Update xbps-src template (push) Successful in 56s
Details
This commit is contained in:
parent
de3cf84b82
commit
46cb6dd9fe
|
@ -1,5 +1,9 @@
|
||||||
/* See LICENSE file for copyright and license details. */
|
/* See LICENSE file for copyright and license details. */
|
||||||
|
|
||||||
|
/* Helper macros for spawning commands */
|
||||||
|
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
|
||||||
|
#define CMD(...) { .v = (const char*[]){ __VA_ARGS__, NULL } }
|
||||||
|
|
||||||
/* appearance */
|
/* appearance */
|
||||||
static const unsigned int borderpx = 1; /* border pixel of windows */
|
static const unsigned int borderpx = 1; /* border pixel of windows */
|
||||||
static const unsigned int snap = 32; /* snap pixel */
|
static const unsigned int snap = 32; /* snap pixel */
|
||||||
|
@ -214,9 +218,6 @@ static const Layout layouts[] = {
|
||||||
{ MOD, XK_a, ACTION##stack, {.i = 2 } }, \
|
{ MOD, XK_a, ACTION##stack, {.i = 2 } }, \
|
||||||
{ MOD, XK_z, ACTION##stack, {.i = -1 } },
|
{ MOD, XK_z, ACTION##stack, {.i = -1 } },
|
||||||
|
|
||||||
/* helper for spawning shell commands in the pre dwm-5.0 fashion */
|
|
||||||
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
|
|
||||||
|
|
||||||
/* commands */
|
/* commands */
|
||||||
static const char *dmenucmd[] = {
|
static const char *dmenucmd[] = {
|
||||||
"dmenu_run",
|
"dmenu_run",
|
||||||
|
|
8
dwm.c
8
dwm.c
|
@ -2164,7 +2164,11 @@ togglefloating(const Arg *arg)
|
||||||
if (c->isfullscreen) /* no support for fullscreen windows */
|
if (c->isfullscreen) /* no support for fullscreen windows */
|
||||||
return;
|
return;
|
||||||
c->isfloating = !c->isfloating || c->isfixed;
|
c->isfloating = !c->isfloating || c->isfixed;
|
||||||
if (c->isfloating)
|
if (c->scratchkey != 0 && c->isfloating)
|
||||||
|
XSetWindowBorder(dpy, c->win, scheme[SchemeScratchSel][ColFloat].pixel);
|
||||||
|
else if (c->scratchkey != 0)
|
||||||
|
XSetWindowBorder(dpy, c->win, scheme[SchemeScratchSel][ColBorder].pixel);
|
||||||
|
else if (c->isfloating)
|
||||||
XSetWindowBorder(dpy, c->win, scheme[SchemeSel][ColFloat].pixel);
|
XSetWindowBorder(dpy, c->win, scheme[SchemeSel][ColFloat].pixel);
|
||||||
else
|
else
|
||||||
XSetWindowBorder(dpy, c->win, scheme[SchemeSel][ColBorder].pixel);
|
XSetWindowBorder(dpy, c->win, scheme[SchemeSel][ColBorder].pixel);
|
||||||
|
@ -2360,7 +2364,7 @@ updatebarpos(Monitor *m)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
updateclientlist()
|
updateclientlist(void)
|
||||||
{
|
{
|
||||||
Client *c;
|
Client *c;
|
||||||
Monitor *m;
|
Monitor *m;
|
||||||
|
|
|
@ -15,4 +15,3 @@ click_ltsymbol(Bar *bar, Arg *arg, BarArg *a)
|
||||||
{
|
{
|
||||||
return ClkLtSymbol;
|
return ClkLtSymbol;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
static int width_ltsymbol(Bar *bar, BarArg *a);
|
static int width_ltsymbol(Bar *bar, BarArg *a);
|
||||||
static int draw_ltsymbol(Bar *bar, BarArg *a);
|
static int draw_ltsymbol(Bar *bar, BarArg *a);
|
||||||
static int click_ltsymbol(Bar *bar, Arg *arg, BarArg *a);
|
static int click_ltsymbol(Bar *bar, Arg *arg, BarArg *a);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue