tAdd binding to launch bright terminal - dwm - [fork] customized build of dwm, the dynamic window manager
 (HTM) git clone git://src.adamsgaard.dk/dwm
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 4764faafda34e251f34bd1d8bc9342ea1f22c6fd
 (DIR) parent 2b324edfe585a003a69f3d1602d3f6f96d272460
 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Mon, 25 May 2020 20:54:21 +0200
       
       Add binding to launch bright terminal
       
       Diffstat:
         M config.h                            |       6 ++++++
       
       1 file changed, 6 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/config.h b/config.h
       t@@ -75,17 +75,21 @@ static char dmenumon[2] = "0";
        
        #define HOME "/home/ad"
        #define TERMINAL "st"
       +#define ALTTERMINAL "st-light"
        #define EDITOR "vi"
        #define BROWSER "surf-open.sh"
        
        /* helper for spawning shell commands in the pre dwm-5.0 fashion */
        #define TERMCMD(...)   {TERMINAL, "-e", __VA_ARGS__, NULL}
       +#define ALTTERMCMD(...) {ALTTERMINAL, "-e", __VA_ARGS__, NULL}
        #define DUPLEXCMD(cmd) {TERMINAL, "-e", "tmux", "new-session", cmd, NULL}
        #define DUPLEXATTACHCMD(name, cmd) {TERMINAL, "-e", "tmux", "new-session", "-A", "-s", name, cmd, NULL}
        
        /* commands */
        static const char *termcmd[]           = TERMCMD("ksh", "-l");
        static const char *termplexcmd[]       = TERMCMD("tmux");
       +static const char *alttermcmd[]        = ALTTERMCMD("ksh", "-l");
       +static const char *alttermplexcmd[]    = ALTTERMCMD("tmux");
        
        static const char *dmenucmd[]          = {"dmenu_run", NULL};
        static const char *searchcmd[]         = {"search", NULL};
       t@@ -135,6 +139,8 @@ static Key keys[] = {
                /* modifier                     key        function        argument */
                { MODKEY|ShiftMask,             XK_Return, spawn,          {.v = termcmd } },
                { MODKEY,                       XK_Return, spawn,          {.v = termplexcmd } },
       +        { MODKEY|MODALTKEY|ShiftMask,   XK_Return, spawn,          {.v = alttermcmd } },
       +        { MODKEY|MODALTKEY,             XK_Return, spawn,          {.v = alttermplexcmd } },
        
                { MODKEY|ShiftMask,             XK_space,  spawn,          {.v = dmenucmd } },
                { MODKEY,                       XK_space,  spawn,          {.v = searchcmd } },