[wiki] [sites] [dwm][patch] fullgaps-toggle || Klein

From: <git_AT_suckless.org>
Date: Sun, 30 Aug 2020 15:28:40 +0200

commit 12bd4a637e1c1976c80a3a4f955947dade3fd2be
Author: Klein <kleinbottle4_AT_gmail.com>
Date: Sun Aug 30 14:25:06 2020 +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.)

diff --git a/dwm.suckless.org/patches/fullgaps/index.md b/dwm.suckless.org/patches/fullgaps/index.md
index a8e5c458..4e226bea 100644
--- a/dwm.suckless.org/patches/fullgaps/index.md
+++ b/dwm.suckless.org/patches/fullgaps/index.md
_AT_@ -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
Received on Sun Aug 30 2020 - 15:28:40 CEST

This archive was generated by hypermail 2.3.0 : Sun Aug 30 2020 - 15:36:46 CEST