Toggle gap func

pull/13/head
E. Almqvist 4 years ago
parent bea763a89e
commit 50952da422
  1. 1
      src/config.h
  2. 7
      src/dwm.c

@ -115,6 +115,7 @@ static Key keys[] = {
{ MODKEY|ShiftMask, XK_x, spawn, {.v = betterlockscreencmd}},
{ MODKEY, XK_Print, spawn, {.v = spectaclecmd}},
{ MODKEY, XK_u, spawn, {.v = cmuspausecmd}},
{ MODKEY, XK_g, setgaps, {.v = cmuspausecmd}},
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)

@ -227,6 +227,7 @@ static void setclientstate(Client *c, long state);
static void setfocus(Client *c);
static void setfullscreen(Client *c, int fullscreen);
static void setgaps(const Arg *arg);
static void togglegaps(const Arg *arg);
static void setlayout(const Arg *arg);
static void setlayoutsafe(const Arg *arg);
static void setmfact(const Arg *arg);
@ -1687,6 +1688,12 @@ setgaps(const Arg *arg)
arrange(selmon);
}
void
togglegaps(const Arg *arg)
{
}
void
setlayout(const Arg *arg)
{

Loading…
Cancel
Save