diff --git a/config.h b/config.h index 374b2bf..ea71f36 100644 --- a/config.h +++ b/config.h @@ -60,9 +60,19 @@ static const Layout layouts[] = { static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL }; static const char *termcmd[] = { "urxvt256c", NULL }; +static const char *mpd_toggle[] = { "/home/jon/bin/mpc_play_pause", NULL}; +static const char *mpd_prev[] = { "/home/jon/bin/mpc_play_prev", NULL}; +static const char *mpd_next[] = { "/home/jon/bin/mpc_play_next", NULL}; +static const char *mpd_vol_up[] = { "/home/jon/bin/mpc_vol_up", NULL}; +static const char *mpd_vol_down[] = { "/home/jon/bin/mpc_vol_down", NULL}; static Key keys[] = { /* modifier key function argument */ + { MODKEY, XK_F8, spawn, {.v = mpd_toggle } }, + { MODKEY, XK_F9, spawn, {.v = mpd_prev } }, + { MODKEY, XK_F10, spawn, {.v = mpd_next } }, + { MODKEY, XK_F11, spawn, {.v = mpd_vol_down } }, + { MODKEY, XK_F12, spawn, {.v = mpd_vol_up } }, { MODKEY, XK_p, spawn, {.v = dmenucmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_b, togglebar, {0} }, diff --git a/dwm b/dwm deleted file mode 100755 index a518c68..0000000 Binary files a/dwm and /dev/null differ diff --git a/dwm.o b/dwm.o deleted file mode 100644 index c9d0e80..0000000 Binary files a/dwm.o and /dev/null differ