summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.def.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/config.def.h b/config.def.h
index 7592bd3..5b7d046 100644
--- a/config.def.h
+++ b/config.def.h
@@ -49,15 +49,15 @@ const char *spcmd6[] = {"wezterm", "start", "--class", "spfm", "-e", "lf", N
*/
/*
- St and Xterm take a -g flag:
+ St takes a -g flag:
*/
-const char *spcmd1[] = {"xterm", "-n", "spaudio", "-g", "120x35", "-e", "mixertui", NULL };
-const char *spcmd2[] = {"xterm", "-n", "spmon", "-g", "120x35", "-e", "htop", NULL };
-const char *spcmd3[] = {"xterm", "-n", "spmp", "-g", "120x35", "-e", "ncmpcpp", NULL };
-const char *spcmd4[] = {"xterm", "-n", "spbt", "-g", "120x35", "-e", "tremc", NULL };
-const char *spcmd5[] = {"xterm", "-n", "spterm", "-g", "120x35", "-e", "tmux", NULL };
-const char *spcmd6[] = {"xterm", "-n", "spfm", "-g", "120x35", "-e", "lf", NULL };
+const char *spcmd1[] = {"st", "-n", "spaudio", "-g", "120x35", "-e", "mixertui", NULL };
+const char *spcmd2[] = {"st", "-n", "spmon", "-g", "120x35", "-e", "htop", NULL };
+const char *spcmd3[] = {"st", "-n", "spmp", "-g", "120x35", "-e", "ncmpcpp", NULL };
+const char *spcmd4[] = {"st", "-n", "spbt", "-g", "120x35", "-e", "tremc", NULL };
+const char *spcmd5[] = {"st", "-n", "spterm", "-g", "120x35", "-e", "tmux", NULL };
+const char *spcmd6[] = {"st", "-n", "spfm", "-g", "120x35", "-e", "ranger", NULL };
/*...and this is how to add a gui app to a scratchpad
const char *spcmd5[] = {"keepassxc", NULL };
@@ -99,12 +99,11 @@ static const Rule rules[] = {
{ "XTerm", NULL, NULL, 0, 0, 1, 0, -1 },
{ "wezterm", 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, "spmon", NULL, SPTAG(1), 1, 0, 0, -1 },
{ NULL, "spmp", NULL, SPTAG(2), 1, 0, 0, -1 },
{ NULL, "spbt", NULL, SPTAG(3), 1, 0, 0, -1 },
{ NULL, "spterm", NULL, SPTAG(4), 1, 1, 0, -1 },
{ NULL, "spfm", NULL, SPTAG(5), 1, 0, 0, -1 },
- { NULL, "spmon", NULL, SPTAG(6), 1, 0, 0, -1 },
{ NULL, NULL, "Event Tester", 0, 1, 0, 1, -1 }, /* xev */
};
@@ -141,7 +140,7 @@ static const Layout layouts[] = {
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[] = { "xterm", NULL };
+static const char *termcmd[] = { "st", NULL };
static const char *editorcmd[] = { "em", NULL };
static const char *browsercmd[] = { "firefox", NULL };
static const char *calccmd[] = { "gnome-calculator", NULL };