commit 05fed82f2077af92ed4a9c28c1595f4181c911c8
parent 1f1ba553ce8af60dde14b1f00802a699276cbe3f
Author: grouse <bdmfegys@duck.com>
Date: Thu, 22 Feb 2024 19:19:40 -0500
rename all names for htop scrathpad to termtop
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -42,14 +42,14 @@ static const char *spcmd2[] = {"birdterm", "-n", "spfm", "-g", "144x41", "-e", t
static const char *spcmd3[] = {"birdterm", "-n", "upgrader", "-g", "144x41", "-e", upgradescript, NULL }; /* upgrade script, change if your script is named differently */
static const char *spcmd4[] = {"birdterm", "-n", "musicterm", "-g", "144x41", "-e", musicterm, NULL }; /* upgrade script, change if your script is named differently */
//static const char *spcmd5[] = {"birdterm", "-n", "musicterm", "-g", "144x41", "-e", "htop", NULL }; /* upgrade script, change if your script is named differently */
-static const char *spcmd5[] = {"birdterm", "-n", "topterm", "-g", "144x41", "-e", termtop, NULL }; /* upgrade script, change if your script is named differently */
+static const char *spcmd5[] = {"birdterm", "-n", "termtop", "-g", "144x41", "-e", termtop, NULL }; /* upgrade script, change if your script is named differently */
static Sp scratchpads[] = {
/* name cmd */
{"spterm", spcmd1},
{"spranger", spcmd2},
{"upgrader", spcmd3},
{"musicterm", spcmd4},
- {"topterm", spcmd5},
+ {"termtop", spcmd5},
};
static const unsigned int alphas[][3] = {
@@ -76,6 +76,7 @@ static const Rule rules[] = {
{ NULL, "spfm", NULL, SPTAG(1), 1, -1 }, /* suckless file manager command */
{ NULL, "upgrader", NULL, SPTAG(2), 1, -1 }, /* upgrade script command floating */
{ NULL, "musicterm",NULL, SPTAG(3), 1, -1 }, /* upgrade script command floating */
+ { NULL, "termtop",NULL, SPTAG(3), 1, -1 }, /* upgrade script command floating */
/* { "Alacritty","Alacritty",NULL, 0, 1, -1 },*/ /* alacritty (used for possible switch to alacritty as scratchpad) */
/* end of scratchpad floating rules */