diff options
-rw-r--r-- | dwm/config.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dwm/config.h b/dwm/config.h index 359e5e0..7c65071 100644 --- a/dwm/config.h +++ b/dwm/config.h | |||
@@ -82,6 +82,11 @@ static const char *shut[] = { "shut", NULL }; | |||
82 | static const char *brightup[] = { "doas", "bup", NULL }; | 82 | static const char *brightup[] = { "doas", "bup", NULL }; |
83 | static const char *brightdown[] = { "doas", "bdown", NULL }; | 83 | static const char *brightdown[] = { "doas", "bdown", NULL }; |
84 | 84 | ||
85 | /* cmus */ | ||
86 | static const char *plyrnext[] = { "cmus-remote", "-n", NULL }; | ||
87 | static const char *plyrprev[] = { "cmus-remote", "-r", NULL }; | ||
88 | static const char *plyrplay[] = { "cmus-remote", "-u", NULL }; | ||
89 | |||
85 | /* lock */ | 90 | /* lock */ |
86 | static const char *lock[] = { "xset", "s", "activate", NULL }; | 91 | static const char *lock[] = { "xset", "s", "activate", NULL }; |
87 | 92 | ||
@@ -96,6 +101,9 @@ static Key keys[] = { | |||
96 | { 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } }, | 101 | { 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } }, |
97 | { 0, XF86XK_MonBrightnessUp, spawn, {.v = brightup } }, | 102 | { 0, XF86XK_MonBrightnessUp, spawn, {.v = brightup } }, |
98 | { 0, XF86XK_MonBrightnessDown, spawn, {.v = brightdown } }, | 103 | { 0, XF86XK_MonBrightnessDown, spawn, {.v = brightdown } }, |
104 | { 0, XF86XK_AudioNext, spawn, {.v = plyrnext } }, | ||
105 | { 0, XF86XK_AudioPrev, spawn, {.v = plyrprev } }, | ||
106 | { 0, XF86XK_AudioPlay, spawn, {.v = plyrplay } }, | ||
99 | { MODKEY|ShiftMask, XK_Delete, spawn, {.v = lock } }, | 107 | { MODKEY|ShiftMask, XK_Delete, spawn, {.v = lock } }, |
100 | { MODKEY, XK_b, togglebar, {0} }, | 108 | { MODKEY, XK_b, togglebar, {0} }, |
101 | { MODKEY, XK_j, focusstack, {.i = +1 } }, | 109 | { MODKEY, XK_j, focusstack, {.i = +1 } }, |