pull/25/head
E. Almqvist 3 years ago
parent 2da0811d08
commit 0408750ef0
  1. 3
      src/config.h
  2. 4
      src/dwm.c

@ -4,8 +4,7 @@
static const unsigned int borderpx = 4; /* border pixel of windows */ static const unsigned int borderpx = 4; /* border pixel of windows */
static const unsigned int snap = 16; /* snap pixel (32)*/ static const unsigned int snap = 16; /* snap pixel (32)*/
static const unsigned int gappx = 0; static const unsigned int gappx = 0;
static const unsigned int gappx2 = 40; static const unsigned int gapmodes[] = { gappx, 40, 80 };
static const unsigned int gapmodes[] = { 0, 40, 80 };
static const int showbar = 1; /* 0 means no bar */ static const int showbar = 1; /* 0 means no bar */
static const int topbar = 0; /* 0 means bottom bar */ static const int topbar = 0; /* 0 means bottom bar */
static const int usealtbar = 1; /* 1 means use non-dwm status bar */ static const int usealtbar = 1; /* 1 means use non-dwm status bar */

@ -1844,10 +1844,10 @@ setgaps(const Arg *arg)
void void
togglegaps(const Arg *arg) togglegaps(const Arg *arg)
{ {
if (selmon->gappx == gappx2) if (selmon->gappx == 0)
selmon->gappx = gappx; selmon->gappx = gappx;
else else
selmon->gappx = gappx2; selmon->gappx = 0;
arrange(selmon); arrange(selmon);
} }

Loading…
Cancel
Save