summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2021-03-23 22:38:38 -0500
committerzachir <zachir@librem.one>2021-03-23 22:38:38 -0500
commit0033bd25a77bd08ca715ccd002fb4716c795ab3c (patch)
treeb94dd720eb8d93b4b7b5d5a25d04875779e2741d
parent8989ad0e9c7d7114ac224ded74ddc1c96d8f8e13 (diff)
Change pulsemixer to alsamixer, add neomutt scratchpad, add rule for Carla
-rw-r--r--config.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/config.h b/config.h
index c1c961e..0555a77 100644
--- a/config.h
+++ b/config.h
@@ -32,15 +32,17 @@ typedef struct {
} Sp;
const char *spcmd1[] = { "st", "-g", "150x50", "-n", "sphtop", "-e", "htop", NULL };
const char *spcmd2[] = { "st", "-g", "150x50", "-n", "spterm", NULL };
-const char *spcmd3[] = { "st", "-g", "150x50", "-n", "sppm", "-e", "pulsemixer", NULL };
+const char *spcmd3[] = { "st", "-g", "150x50", "-n", "sppm", "-e", "alsamixer", NULL };
const char *spcmd4[] = { "st", "-g", "150x50", "-n", "spbt", "-e", "bluetoothctl", NULL };
const char *spcmd5[] = { "st", "-g", "150x50", "-n", "spncmp", "-e", "ncmpcpp", NULL };
+const char *spcmd6[] = { "st", "-g", "150x50", "-n", "spmutt", "-e", "neomutt", NULL };
static Sp scratchpads[] = {
{ "sphtop", spcmd1 },
{ "spterm", spcmd2 },
{ "sppm", spcmd3 },
{ "spbt", spcmd4 },
{ "spncmp", spcmd5 },
+ { "spmutt", spcmd6 },
};
/* tagging */
@@ -58,7 +60,6 @@ static const Rule rules[] = {
{ "URxvt", NULL, NULL, 0, 0, 1, 0, -1 },
{ "Ardour-6.2.0",NULL, NULL, 0, 1, 0, 0, -1 },
{ "Gimp", NULL, NULL, 0, 1, 0, 0, -1 },
- { "Firefox", NULL, NULL, 1 << 8, 0, 0, 1, -1 },
{ "st-256color",NULL, NULL, 0, 0, 1, 1, -1 },
{ "st", NULL, NULL, 0, 0, 1, 1, -1 },
{ "St", NULL, NULL, 0, 0, 1, 1, -1 },
@@ -70,6 +71,7 @@ static const Rule rules[] = {
{ "qjackctl", NULL, NULL, 0, 1, 0, 0, -1 },
{ "catia.py", NULL, NULL, 0, 1, 0, 0, -1 },
{ "Catia", NULL, NULL, 0, 1, 0, 0, -1 },
+ { NULL, "carla",NULL, 1 << 7, 1, 0, 0, -1 },
{ NULL, NULL, "Event Tester", 0, 1, 0, 1, -1 },
{ "Steam", NULL, NULL, 4, 0, 0, 0, -1 },
{ "steam", NULL, NULL, 4, 0, 0, 0, -1 },
@@ -81,6 +83,7 @@ static const Rule rules[] = {
{ NULL, "sppm", NULL, SPTAG(2),1, 1, 1, -1 },
{ NULL, "spbt", NULL, SPTAG(3),1, 1, 1, -1 },
{ NULL, "spncmp",NULL, SPTAG(4),1, 1, 1, -1 },
+ { NULL, "spmutt",NULL, SPTAG(5),1, 1, 1, -1 },
};
/* layout(s) */
@@ -142,6 +145,7 @@ static Key keys[] = {
{ MODKEY|ControlMask, XK_c, togglescratch, {.ui = 2 } },
{ MODKEY|ControlMask, XK_v, togglescratch, {.ui = 3 } },
{ MODKEY|ControlMask, XK_b, togglescratch, {.ui = 4 } },
+ { MODKEY|ControlMask, XK_a, togglescratch, {.ui = 5 } },
// { 0, XF86XK_AudioPlay, spawn, {.v = mpdtoggle } },
// { 0, XF86XK_AudioNext, spawn, {.v = mpdnext } },
// { 0, XF86XK_AudioPrev, spawn, {.v = mpdprev } },