chore: updated scratchpad cmd

This commit is contained in:
Solomon Laing 2026-03-20 18:19:27 +10:30
parent a069b3ea66
commit 2c5e4e179b

View File

@ -41,15 +41,15 @@ static const Rule rules[] = {
* WM_NAME(STRING) = title
*/
/* class instance title tags mask allowkill isfloating monitor */
{"firefox", NULL, NULL, 1 << 0, 0, 0, -1 0},
{"thunderbird", NULL, NULL, 1 << 6, 1, 0, -1 0},
{"org.mozilla.Thunderbird", NULL, NULL, 1 << 6, 1, 0, -1 0},
{"ManagerDesktop", NULL, NULL, 1 << 7, 1, 0, -1 0},
{"Manager", NULL, NULL, 1 << 7, 1, 0, -1 0},
{"InputLeap", NULL, NULL, 1 << 8, 1, 1, -1 0},
{"Nextcloud", NULL, NULL, 1 << 8, 1, 0, -1 0},
{"feishin", NULL, NULL, 1 << 2, 1, 0, -1 0},
{ NULL, NULL, "scratchpad", 0, 1, 0, -1, 's'},
{"firefox", NULL, NULL, 1 << 0, 0, 0, -1, 0},
{"thunderbird", NULL, NULL, 1 << 6, 1, 0, -1, 0},
{"org.mozilla.Thunderbird", NULL, NULL, 1 << 6, 1, 0, -1, 0},
{"ManagerDesktop", NULL, NULL, 1 << 7, 1, 0, -1, 0},
{"Manager", NULL, NULL, 1 << 7, 1, 0, -1, 0},
{"InputLeap", NULL, NULL, 1 << 8, 1, 1, -1, 0},
{"Nextcloud", NULL, NULL, 1 << 8, 1, 0, -1, 0},
{"feishin", NULL, NULL, 1 << 2, 1, 0, -1, 0},
{ NULL, NULL, "scratchpad", 0, 1, 0, -1, 's'}
};
/* layout(s) */
@ -89,9 +89,9 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = {"dmenu_run", NULL};
static const char *slockcmd[] = {"slock", NULL};
static const char *termcmd[] = {TERMINAL, "-e", "tmux-worker", NULL};
static const char *termcmd[] = {TERMINAL, "-t", "st", "-e", "tmux-worker", NULL};
/*First arg only serves to match against key in rules*/
static const char *scratchpadcmd[] = {"s", "st", "-t", "scratchpad", NULL};
static const char *scratchpadcmd[] = {"s", TERMINAL, "-t", "scratchpad", "-e", "tmux-worker", NULL};
#include "movestack.c"
#include "shift-tools.c"