commit 3f210e0dbc5a9ae164d3c4db8914c271756a7f5d
parent a7ee45f4be48d33f0beb62102a6fee22c8dfe02b
Author: mrgrouse <mrgrouse@mrgrouse.com>
Date: Sun, 1 Sep 2024 21:31:00 -0400
config.def.h: fix incorrect comments and add missing comments
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -42,8 +42,8 @@ char termtop[] = "htop"; /* htop scratchpad */
static const char *spcmd1[] = {"kitty", "--name", "spterm", }; /* regular terminal scratchpad */
static const char *spcmd2[] = {"kitty", "--name", "spfm", termfm, }; /* file manager scratchpad */
static const char *spcmd3[] = {"kitty", "--name", "upgrader", upgradescript, }; /* upgrade script, change if your script is named differently */
-static const char *spcmd4[] = {"kitty", "--name", "musicterm", musicterm, };
-static const char *spcmd5[] = {"kitty", "--name", "termtop", termtop, };
+static const char *spcmd4[] = {"kitty", "--name", "musicterm", musicterm, }; /* scratchpad for tui music clients */
+static const char *spcmd5[] = {"kitty", "--name", "termtop", termtop, }; /* scratchpad for tui resource monitor */
static Sp scratchpads[] = {
/* name cmd */
{"spterm", spcmd1},
@@ -76,8 +76,8 @@ static const Rule rules[] = {
{ NULL, "spterm", NULL, SPTAG(0), 1, -1 }, /* scratchpad floating rule */
{ 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 */
+ { NULL, "musicterm",NULL, SPTAG(3), 1, -1 }, /* terminal music player scratchpad */
+ { NULL, "termtop", NULL, SPTAG(4), 1, -1 }, /* htop or other terminal monitor scratchpad */
/* { "Alacritty","Alacritty",NULL, 0, 1, -1 },*/ /* alacritty (used for possible switch to alacritty as scratchpad) */
/* end of scratchpad floating rules */