summaryrefslogtreecommitdiff
path: root/vanitygaps.c
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2022-01-21 09:13:49 -0500
committerLuke Smith <luke@lukesmith.xyz>2022-01-21 09:13:49 -0500
commit0fc18ac866794a37d803849e44da9fceba86e511 (patch)
treee01315dc90f456aafa6d2e4d88883b3f7e658c70 /vanitygaps.c
parent8306102dacd7a1b2830124e9abf28821ca5a35e8 (diff)
parentb8d91c9cb354aab8ebf80283514c4c6c10764d2e (diff)
Merge branch 'frei-0xff-master'
Diffstat (limited to 'vanitygaps.c')
-rw-r--r--vanitygaps.c8
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);