From b66e32e0ef47259877cba84ba571e9796d70aa03 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Sat, 3 Jul 2021 11:39:33 -0400 Subject: [PATCH] Use Emacs terminal instead of st --- config.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/config.h b/config.h index 861a6a7..abcf147 100644 --- a/config.h +++ b/config.h @@ -54,13 +54,12 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", NULL }; -static const char *termcmd[] = { "tmuxt" }; static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } }, { MODKEY|ShiftMask, XK_p, spawn, SHCMD("passmenu") }, - { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, + { MODKEY|ShiftMask, XK_Return, spawn, EMACS("(term)") }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, @@ -123,7 +122,6 @@ static Button buttons[] = { { ClkLtSymbol, 0, Button1, setlayout, {0} }, { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, { ClkWinTitle, 0, Button2, zoom, {0} }, - { ClkStatusText, 0, Button2, spawn, {.v = termcmd } }, { ClkClientWin, MODKEY, Button1, movemouse, {0} }, { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, @@ -134,7 +132,7 @@ static Button buttons[] = { }; static const char *const autostart[] = { - "hsetroot", "-solid", "#bbbbbb", NULL, + "xsetroot", "-solid", "#bbbbbb", NULL, "dwmblocks", NULL, "xmodmap", "/home/armaa/.config/xmodmap", NULL, "xcape", NULL, -- 2.39.2