diff options
Diffstat (limited to 'vanitygaps.c')
-rw-r--r-- | vanitygaps.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vanitygaps.c b/vanitygaps.c index 7245e74..4c98e69 100644 --- a/vanitygaps.c +++ b/vanitygaps.c @@ -8,6 +8,7 @@ static void incrgaps(const Arg *arg); /* static void incrihgaps(const Arg *arg); */ /* static void incrivgaps(const Arg *arg); */ static void togglegaps(const Arg *arg); +static void togglesmartgaps(const Arg *arg); /* Layouts */ static void bstack(Monitor *m); @@ -49,6 +50,13 @@ togglegaps(const Arg *arg) } static void +togglesmartgaps(const Arg *arg) +{ + smartgaps = !smartgaps; + arrange(NULL); +} + +static void defaultgaps(const Arg *arg) { setgaps(gappoh, gappov, gappih, gappiv); |