]> git.armaanb.net Git - dwm.git/commitdiff
Use Emacs terminal instead of st
authorArmaan Bhojwani <me@armaanb.net>
Sat, 3 Jul 2021 15:39:33 +0000 (11:39 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Sat, 3 Jul 2021 15:43:08 +0000 (11:43 -0400)
config.h

index 861a6a79a41407a0df064a1d13551be6aafb314f..abcf147d99a1f8502aa0bfdd9650372a517d3853 100644 (file)
--- 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 };
 /* 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") },
 
 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 } },
        { 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} },
        { 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} },
        { 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[] = {
 };
 
 static const char *const autostart[] = {
-       "hsetroot", "-solid", "#bbbbbb", NULL,
+       "xsetroot", "-solid", "#bbbbbb", NULL,
        "dwmblocks", NULL,
        "xmodmap", "/home/armaa/.config/xmodmap", NULL,
        "xcape", NULL,
        "dwmblocks", NULL,
        "xmodmap", "/home/armaa/.config/xmodmap", NULL,
        "xcape", NULL,