tadd acme and goat bindings - 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 0b79cf34f09289371c19fb3491ae4645b648679d
 (DIR) parent bcb90e383e11c6ddbb901815e56612edae8d14ea
 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Mon, 15 Nov 2021 13:57:18 +0100
       
       add acme and goat bindings
       
       Diffstat:
         M config.h                            |      11 +++++++----
       
       1 file changed, 7 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/config.h b/config.h
       t@@ -8,14 +8,14 @@ static const int topbar             = 1;        /* 0 means bottom bar */
        /* static const char *fonts[]          = { "dina:size=9:antialias=false" }; */
        /* static const char *fonts[]          = { "terminus:size=12" }; */
        static const char *fonts[]          = { "pragmatapro:size=11" };
       -static const char col_gray1[] = "#000000";
       -static const char col_gray2[] = "#444444";
       -static const char col_gray3[] = "#ffffff";
       +static const char col_gray1[] = "#eaffff";
       +static const char col_gray2[] = "#99994c";
       +static const char col_gray3[] = "#000000";
        static const char col_gray4[] = "#1d1f21";
        static const char *colors[][3]      = {
                /*               fg         bg         border   */
                [SchemeNorm] = { col_gray3, col_gray1, col_gray1 },
       -        [SchemeSel]  = { col_gray1, col_gray3, col_gray3 },
       +        [SchemeSel]  = { col_gray3, col_gray2, col_gray3 },
        };
        
        /* tagging */
       t@@ -88,6 +88,7 @@ static char dmenumon[2] = "0";
        #define DUPLEXATTACHCMD(name, cmd) {TERMINAL, "-e", "tmux", "new-session", "-A", "-s", name, cmd, NULL}
        
        /* commands */
       +static const char *goatcmd[]           = { "sh", "-c", "mpv \"$(hurl gopher://bitreich.org/0/memecache/index.meme | grep goat | grep -E '\.(mp4|mkv|webm|avi) ' | cut -f2 -d' ' | sort -R | head -n 1)\"", NULL };
        static const char *termcmd[]           = TERMCMD("ksh", "-l");
        static const char *termplexcmd[]       = TERMCMD("tmux");
        static const char *alttermcmd[]        = ALTTERMCMD("ksh", "-l");
       t@@ -95,6 +96,7 @@ static const char *alttermplexcmd[]    = ALTTERMCMD("tmux");
        
        static const char *dmenucmd[]          = {"dmenu_run", NULL};
        static const char *searchcmd[]         = {"search", NULL};
       +static const char *acmecmd[]           = {"ad", NULL};
        static const char *articlesearchcmd[]  = {"articlesearch", NULL};
        static const char *jabbrevcmd[]        = {"jabbrev", "-c", NULL};
        static const char *unicodecmd[]        = {"unicodepick", NULL};
       t@@ -212,6 +214,7 @@ static Key keys[] = {
                { MODKEY|ShiftMask,             XK_F7,     spawn,          {.v = displayintcmd } },
                { MODKEY,                       XK_F9,     spawn,          {.v = showkeyscmd } },
        
       +        { MODKEY,                       XK_a,      spawn,          {.v = acmecmd } },
                { MODKEY|ShiftMask,             XK_a,      spawn,          {.v = articlesearchcmd } },
                { MODKEY|ControlMask|ShiftMask, XK_a,      spawn,          {.v = mixercmd } },
                { MODKEY|MODALTKEY,             XK_b,      togglebar,      {0} },