Commit Diff


commit - 1e3ca6dfcb6908e6b9ff885419144becfeadfb3f
commit + 327df89c0597f748abfd95ddfcc56f0242d1a332
blob - 88da87ef43b469fc8e6110fe0d0d0ea394337e20
blob + e3fbe7ff99f4dfe9040c243a4e696c8bef68ddc7
--- dwm/config.h
+++ dwm/config.h
@@ -67,13 +67,13 @@ static const Layout layouts[] = {
 
 /* commands */
 #define DMENU_ARGS "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4
-static const char *termcmd[]  = { "st", NULL };
+static const char *termcmd[]  = { TERM, NULL };
 static const char *slockcmd[] = { "pkill", "-USR1", "xidle", NULL };
 static const char *xkillcmd[]  = { "xkill", NULL };
 
 #define script(...) ((const char *[]){ "/bin/sh", PREFIX "/libexec/desktop/" __VA_ARGS__, NULL })
 #define dmscript(...) script(__VA_ARGS__, DMENU_ARGS)
-#define runst(...) ((const char *[]){ "st", "-e", __VA_ARGS__, NULL })
+#define runst(...) ((const char *[]){ TERM, "-e", __VA_ARGS__, NULL })
 
 static const Key keys[] = {
 	/* modifier                     key		function	argument */
blob - 42274df1731f0174eb3ebd0a0b28cbb082e5267d
blob + 506e665ade72b852722dc1eb7b5a00581ffe5f8f
--- master.h
+++ master.h
@@ -1,4 +1,5 @@
 #define BUGREPORT "Benjamin Stürz <benni@stuerz.xyz>"
 #define TOPBAR_FONT "monospace:size=6"
+#define TERM "st"
 
 #define UNUSED __attribute__((unused))