Commit: 6a811a524611feb555b4fa37fafa09aaeb65eccb Parent: 9a2ddd0a96c1d31ba5c256e5369dac4e2775809f Author: Johannes Thyssen Tishman Date: Tue, 9 Apr 2024 12:04:30 +0000 Re-add mail and irc workspaces for aerc and senpai Diffstat: M config.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/config.h b/config.h @@ -1,5 +1,5 @@ /* general */ -static const char *tags[] = { "1", "2", "3", "4", "www"}; +static const char *tags[] = { "1", "2", "3", "www", "mail", "irc" }; static const int nmaster = 1; static const int showbar = 1; static const int topbar = 1; @@ -44,13 +44,17 @@ ResourcePref resources[] = { /* rules */ static const Rule rules[] = { /* class instance title tags flt mon */ - { "firefox", NULL, NULL, 1 << 4, 0, -1 }, + { "firefox", NULL, NULL, 1 << 3, 0, -1 }, + { "XTerm", NULL, "aerc", 1 << 4, 0, -1 }, + { "XTerm", NULL, "senpai", 1 << 5, 0, -1 }, }; /* programs and scripts */ static const char *termcmd[] = {"xterm", NULL}; static const char *dmenucmd[] = {"dmenu_run", "-p", ">_", NULL}; static const char *browser[] = {"fore", "firefox", NULL}; +static const char *mail[] = {"fore", "-t", "aerc", NULL}; +static const char *irc[] = {"fore", "-t", "senpai", NULL}; static const char *powerctl[] = {"powerctl", NULL}; static const char *sbreset[] = {"sbreset", NULL}; @@ -98,6 +102,8 @@ static Key keys[] = { {MODKEY, XK_d, spawn, {.v = dmenucmd }}, {ControlMask, XK_t, spawn, {.v = termcmd }}, {MODKEY, XK_s, spawn, {.v = browser }}, + {MODKEY, XK_m, spawn, {.v = mail }}, + {MODKEY, XK_i, spawn, {.v = irc }}, {MODKEY, XK_Escape, spawn, {.v = powerctl }}, {MODKEY, XK_p, spawn, SHCMD(passmenu) }, {MODKEY, XK_b, spawn, SHCMD(bookmarks) }, @@ -106,6 +112,7 @@ static Key keys[] = { TAGKEYS( XK_3, 2) TAGKEYS( XK_4, 3) TAGKEYS( XK_5, 4) + TAGKEYS( XK_6, 5) {0, AUP, spawn, {.v = sbreset }}, {0, ADOWN, spawn, {.v = sbreset }}, };