summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorCraig Jennings <craigmartinjennings@gmail.com>2021-09-19 13:42:07 -0500
committerCraig Jennings <craigmartinjennings@gmail.com>2021-09-19 13:42:07 -0500
commitfc03ea48d9938d9dab30ec49a7e7dbe5b943e612 (patch)
treeb69ff45c1c123996483b6e3ea9147c0acb43bc54 /config.def.h
parent3edf3dd27cb76c1d73f8b427d6c5e16343c1821b (diff)
add bittorrent scratch pad as super + t
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h10
1 files 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)