commit b231c555f746be7e1925b407474943a37903fb36
parent 354fbfd86d885ad292288ea98f7aa6eed149d2b0
Author: Markus Hanetzok <markus@hanetzok.net>
Date: Fri, 10 Oct 2025 00:05:46 +0200
add scratchpad for pulsemixer
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -34,12 +34,12 @@ typedef struct {
const char *name;
const void *cmd;
} Sp;
-const char *spcmd1[] = {"st", "-n", "spterm", "-g", "120x34", NULL };
+const char *spcmd1[] = {"st", "-n", "spmixer", "-g", "120x34", "-e", "pulsemixer", NULL };
const char *spcmd2[] = {"st", "-n", "spfm", "-g", "144x41", "-e", "ranger", NULL };
const char *spcmd3[] = {"keepassxc", NULL };
static Sp scratchpads[] = {
/* name cmd */
- {"spterm", spcmd1},
+ {"spmixer", spcmd1},
{"spranger", spcmd2},
{"keepassxc", spcmd3},
};
@@ -56,7 +56,7 @@ static const Rule rules[] = {
{ "Firefox", NULL, NULL, 1 << 8, 0, 0, -1, -1 },
{ "St", NULL, NULL, 0, 0, 1, 0, -1 },
{ NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, /* xev */
- { NULL, "spterm", NULL, SPTAG(0), 1, 1, 1, -1 },
+ { NULL, "spmixer", NULL, SPTAG(0), 1, 1, 1, -1 },
{ NULL, "spfm", NULL, SPTAG(1), 1, 1, 1, -1 },
{ NULL, "keepassxc", NULL, SPTAG(2), 0, 0, 1, -1 },
};
@@ -115,7 +115,7 @@ static Key keys[] = {
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
- { MODKEY, XK_y, togglescratch, {.ui = 0 } },
+ { MODKEY, XK_p, togglescratch, {.ui = 0 } },
{ MODKEY, XK_u, togglescratch, {.ui = 1 } },
{ MODKEY, XK_x, togglescratch, {.ui = 2 } },
{ MODKEY, XK_F5, xrdb, {.v = NULL } },