sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit 12bd4a637e1c1976c80a3a4f955947dade3fd2be
parent 13c44154665d91747e88d57a0cf5e339db18775f
Author: Klein <kleinbottle4@gmail.com>
Date:   Sun, 30 Aug 2020 14:25:06 +0100

[dwm][patch] fullgaps-toggle

Modified version of fullgaps

[Alt]+[Shift]+[=] toggles gaps. Re-enabling gaps will return to the
previous gap size.

[Alt]+[Shift]+[-] resets gaps to default
value in `conifg.h`.

The Gap struct is defined as follows:

typdef struct {
	int isgap;
	int realgap;
	int gappx;
} Gap;

See `void setgaps(Arg *arg) {...}` for how this works.

(This is the same as commit 3b8e1d672474f842ff111 but with a proper
email address. Please ignore that commit.)

Diffstat:
Mdwm.suckless.org/patches/fullgaps/index.md | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/dwm.suckless.org/patches/fullgaps/index.md b/dwm.suckless.org/patches/fullgaps/index.md @@ -22,6 +22,8 @@ to contain the gap information, in anticipation of this being used with [pertag](../pertag/). (To use this, apply the patch *instead* of the default fullgaps patch.) +[Alt]+[Shift]+[=] to toggle. [Alt]+[Shift]+[-] to reset to `config.h` defaults. + * [dwm-fullgaps-toggle-20200830.diff](dwm-fullgaps-toggle-20200830.diff) Author