Added function to toggle smartgaps and bound it to Super+Shift+apostrophe.
This commit is contained in:
@@ -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);
|
||||
@@ -48,6 +49,13 @@ togglegaps(const Arg *arg)
|
||||
arrange(NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
togglesmartgaps(const Arg *arg)
|
||||
{
|
||||
smartgaps = !smartgaps;
|
||||
arrange(NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
defaultgaps(const Arg *arg)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user