diff --git a/config.def.h b/config.def.h index aaee19a..200a343 100644 --- a/config.def.h +++ b/config.def.h @@ -40,7 +40,7 @@ static const Rule rules[] = { * WM_CLASS(STRING) = instance, class * WM_NAME(STRING) = title */ - /* class instance title tags mask allowkill isfloating monitor */ + /* class instance title tags mask allowkill isfloating monitor scratchpad char*/ {"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}, @@ -49,6 +49,7 @@ static const Rule rules[] = { {"InputLeap", NULL, NULL, 1 << 8, 1, 1, -1, 0}, {"Nextcloud", NULL, NULL, 1 << 8, 1, 0, -1, 0}, {"feishin", NULL, NULL, 1 << 2, 0, 0, -1, 0}, + {"discord", NULL, NULL, 1 << 2, 1, 0, -1, 0}, { NULL, NULL, "scratchpad", 0, 1, 0, -1, 's'} }; @@ -90,7 +91,7 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in static const char *dmenucmd[] = {"dmenu_run", NULL}; static const char *slockcmd[] = {"slock", NULL}; static const char *termcmd[] = {TERMINAL, "-t", "st", "-e", "tmux-worker", NULL}; -/*First arg only serves to match against key in rules*/ +/*First arg only serves to match against scratchpad char in rules above */ static const char *scratchpadcmd[] = {"s", TERMINAL, "-t", "scratchpad", "-e", "tmux-worker", NULL}; #include "movestack.c"