diff options
Diffstat (limited to '.config/guix/modules/dwm/config.def.h')
-rw-r--r-- | .config/guix/modules/dwm/config.def.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.config/guix/modules/dwm/config.def.h b/.config/guix/modules/dwm/config.def.h index f1f8b46..a254b18 100644 --- a/.config/guix/modules/dwm/config.def.h +++ b/.config/guix/modules/dwm/config.def.h @@ -79,9 +79,9 @@ static const char *upperbgt[] = { "brightnessctl", "set", "5%+", NULL }; static const char *togmute[] = { "pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", NULL }; static const char *lowervol[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", "-4%", NULL}; static const char *uppervol[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", "+4%", NULL}; -static const char *mpcprev[] = { "mpc", "prev", NULL }; -static const char *togmpc[] = { "mpc", "toggle", NULL }; -static const char *mpcnext[] = { "mpc", "next", NULL }; +static const char *emmsprev[] = { "emacsclient", "-e", "(emms-previous)", NULL }; +static const char *emmstog[] = { "emacsclient", "-e", "(emms-pause)", NULL }; +static const char *emmsnext[] = { "emacsclient", "-e", "(emms-next)", NULL }; /* screenshot control */ static const char *flameselect[] = { "flameshot", "launcher", NULL }; static const char *flameall[] = { "flameshot", "full", NULL }; @@ -105,9 +105,9 @@ static const Key keys[] = { { 0, XK_F6, spawn, {.v = togmute } }, { 0, XK_F7, spawn, {.v = lowervol } }, { 0, XK_F8, spawn, {.v = uppervol } }, - { 0, XK_F9, spawn, {.v = mpcprev } }, - { 0, XK_F10, spawn, {.v = togmpc } }, - { 0, XK_F11, spawn, {.v = mpcnext } }, + { 0, XK_F9, spawn, {.v = emmsprev } }, + { 0, XK_F10, spawn, {.v = emmstog } }, + { 0, XK_F11, spawn, {.v = emmsnext } }, { 0, XK_Print, spawn, {.v = flameselect } }, { 0|ShiftMask, XK_Print, spawn, {.v = flameall } }, { MODKEY, XK_l, togglebar, {0} }, |