diff options
| author | Craig Jennings <craigmartinjennings@gmail.com> | 2021-08-17 17:50:58 -0500 |
|---|---|---|
| committer | Craig Jennings <craigmartinjennings@gmail.com> | 2021-08-17 17:50:58 -0500 |
| commit | 45e7e979ccf3292ea1c4abaa0d5ce1be135b8362 (patch) | |
| tree | ba838e590200a597ee27550213f832bd411af4de /config.def.h | |
| parent | 1d57bb2f48d934b07fdd7d41758f9b51ad2eb600 (diff) | |
add ncmpcpp scratchpad
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 75b2c53..ad8557b 100644 --- a/config.def.h +++ b/config.def.h @@ -32,13 +32,18 @@ typedef struct { const char *name; const void *cmd; } Sp; + const char *spcmd1[] = {"st", "-n", "spaudio", "-g", "120x35", "-e", "pulsemixer", NULL }; const char *spcmd2[] = {"st", "-n", "spnet", "-g", "80x40", "-e", "nmtui", NULL }; +const char *spcmd3[] = {"st", "-n", "spmp", "-g", "120x45", "-e", "ncmpcpp", NULL }; + /* const char *spcmd3[] = {"keepassxc", NULL }; */ + static Sp scratchpads[] = { /* name cmd */ {"spaudio", spcmd1}, {"spnet", spcmd2}, + {"spmp", spcmd3}, /* {"keepassxc", spcmd3}, */ }; @@ -70,6 +75,7 @@ static const Rule rules[] = { { "Gnome-calculator", NULL, "Calculator", 0, 1, 0, 0, -1 }, { NULL, "spaudio", NULL, SPTAG(0), 1, 0, 0, -1 }, { NULL, "spnet", NULL, SPTAG(1), 1, 0, 0, -1 }, + { NULL, "spmp", NULL, SPTAG(2), 1, 0, 0, -1 }, { NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, /* xev */ }; @@ -148,6 +154,7 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_equal, setgaps, {.i = 0 } }, { MODKEY, XK_a, togglescratch, {.ui = 0 } }, { MODKEY, XK_n, togglescratch, {.ui = 1 } }, + { MODKEY, XK_slash, togglescratch, {.ui = 2 } }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) |
