diff options
author | zachir <zachir@librem.one> | 2022-01-28 21:48:03 -0600 |
---|---|---|
committer | zachir <zachir@librem.one> | 2022-01-28 21:48:03 -0600 |
commit | 6a8967e71f04ff4e3bc562efd480ddc4aa12a9a1 (patch) | |
tree | 3e752fe410d8a4db62bced7d8383e596ccf71f8d | |
parent | a3bb82f2b90ebbb89cad9c4ad11ea04ec23f214d (diff) |
config.h: add tremc scratchpad
-rw-r--r-- | config.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -38,6 +38,7 @@ const char *spcmd5[] = { "st", "-g", "100x33", "-c", "spncmp", "-e", "ncmpcpp", const char *spcmd6[] = { "st", "-g", "100x33", "-c", "spmutt", "-e", "zsh", "-c", "neomutt", NULL }; const char *spcmd7[] = { "st", "-g", "100x33", "-c", "spxmpp", "-e", "profanity", NULL }; const char *spcmd8[] = { "st", "-g", "100x33", "-c", "spircc", "-e", "irssi", NULL }; +const char *spcmd9[] = { "st", "-g", "100x33", "-c", "sptrem", "-e", "tremc", NULL }; static Sp scratchpads[] = { { "sphtop", spcmd1 }, { "spterm", spcmd2 }, @@ -47,6 +48,7 @@ static Sp scratchpads[] = { { "spmutt", spcmd6 }, { "spxmpp", spcmd7 }, { "spircc", spcmd8 }, + { "sptrem", spcmd9 }, }; /* tagging */ @@ -90,6 +92,7 @@ static const Rule rules[] = { { "spmutt", NULL, NULL, SPTAG(5), 1, 1, 1, -1 }, { "spxmpp", NULL, NULL, SPTAG(6), 1, 1, 1, -1 }, { "spircc", NULL, NULL, SPTAG(7), 1, 1, 1, -1 }, + { "sptrem", NULL, NULL, SPTAG(8), 1, 1, 1, -1 }, { NULL, "monero-wallet-gui",NULL, 256, 1, 0, 0, -1 }, }; @@ -161,6 +164,7 @@ static Key keys[] = { { MODKEY|ControlMask, XK_a, togglescratch, {.ui = 5 } }, { MODKEY|ControlMask, XK_s, togglescratch, {.ui = 6 } }, { MODKEY|ControlMask, XK_d, togglescratch, {.ui = 7 } }, + { MODKEY|ControlMask, XK_f, togglescratch, {.ui = 8 } }, { MODKEY, XK_Escape, spawn, {.v = sxhkdsig } }, // { 0, XF86XK_AudioPlay, spawn, {.v = mpdtoggle } }, // { 0, XF86XK_AudioNext, spawn, {.v = mpdnext } }, |