From fc03ea48d9938d9dab30ec49a7e7dbe5b943e612 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 19 Sep 2021 13:42:07 -0500 Subject: add bittorrent scratch pad as super + t --- config.def.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/config.def.h b/config.def.h index 153f014..3dadc5c 100644 --- a/config.def.h +++ b/config.def.h @@ -36,13 +36,15 @@ typedef struct { 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", "120x35", "-e", "ncmpcpp", NULL }; -/* const char *spcmd3[] = {"keepassxc", NULL }; */ +const char *spcmd4[] = {"st", "-n", "spbt", "-g", "120x35", "-e", "tremc", NULL }; +/* const char *spcmd5[] = {"keepassxc", NULL }; */ static Sp scratchpads[] = { /* name cmd */ {"spaudio", spcmd1}, {"spnet", spcmd2}, {"spmp", spcmd3}, + {"spbt", spcmd4}, /* {"keepassxc", spcmd3}, */ }; @@ -76,7 +78,8 @@ 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, "spmp", NULL, SPTAG(2), 1, 0, 0, -1 }, + { NULL, "spbt", NULL, SPTAG(3), 1, 0, 0, -1 }, { NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, /* xev */ }; @@ -155,7 +158,8 @@ 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 } }, + { MODKEY, XK_slash, togglescratch, {.ui = 2 } }, + { MODKEY, XK_t, togglescratch, {.ui = 3 } }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) -- cgit v1.2.3