From 15a492e8dc23200de75a0e22ca6823a68e44f0b6 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Mon, 3 Apr 2023 22:30:19 -0500 Subject: xterm replaces alacritty for termcmd, add emacs daemon on launch --- config.def.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index b7765f9..1a94080 100644 --- a/config.def.h +++ b/config.def.h @@ -73,6 +73,7 @@ static Sp scratchpads[] = { }; static const char *const autostart[] = { + "emacs", "--daemon", NULL, "sh", "-c", "while true; do dwmstatus; sleep 30s; done", NULL, "nitrogen", "--restore", NULL, "mpd", NULL, @@ -97,6 +98,7 @@ static const Rule rules[] = { { "Firefox", NULL, NULL, 0, 0, 0, -1, -1 }, { "Alacritty", NULL, NULL, 0, 0, 1, 0, -1 }, { "st", NULL, NULL, 0, 0, 1, 0, -1 }, + { "XTerm", NULL, NULL, 0, 0, 1, 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 }, @@ -138,7 +140,7 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; -static const char *termcmd[] = { "alacritty", NULL }; +static const char *termcmd[] = { "xterm", NULL }; static Key keys[] = { /* modifier key function argument */ -- cgit v1.2.3