diff --git a/README.md b/README.md index b39109d..cf8d3f3 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ Refer to [https://dwm.suckless.org/](https://dwm.suckless.org/) for details on t 2019-10-11 - Added the patch to ignore Xft errors when drawing text in the status bar -2019-10-10 - Added mdpcontrol, scratchpad and spawn_cwd cpatches +2019-10-10 - Added mpdcontrol, scratchpad and spawn_cwd cpatches 2019-10-08 - Added columns layout and fakefullscreen patch @@ -395,7 +395,7 @@ Refer to [https://dwm.suckless.org/](https://dwm.suckless.org/) for details on t - [maximize](https://dwm.suckless.org/patches/maximize/) - adds helper functions for maximizing, horizontally and vertically, floating windows using keybindings - - [mdpcontrol](https://dwm.suckless.org/patches/mpdcontrol/) + - [mpdcontrol](https://dwm.suckless.org/patches/mpdcontrol/) - adds keyboard bindings to control MDP (Music Player Daemon) - [monitorrules](https://github.com/bakkeby/patches/wiki/monitorrules/) diff --git a/config.def.h b/config.def.h index 517b887..2b7194c 100644 --- a/config.def.h +++ b/config.def.h @@ -1078,11 +1078,11 @@ static Key keys[] = { { MODKEY|ControlMask, XK_comma, cyclelayout, {.i = -1 } }, { MODKEY|ControlMask, XK_period, cyclelayout, {.i = +1 } }, #endif // CYCLELAYOUTS_PATCH - #if MDPCONTROL_PATCH + #if MPDCONTROL_PATCH { MODKEY, XK_F1, mpdchange, {.i = -1} }, { MODKEY, XK_F2, mpdchange, {.i = +1} }, { MODKEY, XK_Escape, mpdcontrol, {0} }, - #endif // MDPCONTROL_PATCH + #endif // MPDCONTROL_PATCH TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) @@ -1272,10 +1272,10 @@ static Signal signals[] = { #if CYCLELAYOUTS_PATCH { "cyclelayout", cyclelayout }, #endif // CYCLELAYOUTS_PATCH - #if MDPCONTROL_PATCH + #if MPDCONTROL_PATCH { "mpdchange", mpdchange }, { "mpdcontrol", mpdcontrol }, - #endif // MDPCONTROL_PATCH + #endif // MPDCONTROL_PATCH { "toggleviewex", toggleviewex }, { "tag", tag }, { "tagall", tagallex }, @@ -1410,10 +1410,10 @@ static IPCCommand ipccommands[] = { IPCCOMMAND( toggleverticalmax, 1, {ARG_TYPE_NONE} ), IPCCOMMAND( togglemax, 1, {ARG_TYPE_NONE} ), #endif // MAXIMIZE_PATCH - #if MDPCONTROL_PATCH + #if MPDCONTROL_PATCH IPCCOMMAND( mpdchange, 1, {ARG_TYPE_SINT} ), IPCCOMMAND( mpdcontrol, 1, {ARG_TYPE_NONE} ), - #endif // MDPCONTROL_PATCH + #endif // MPDCONTROL_PATCH #if MOVEPLACE_PATCH IPCCOMMAND( moveplace, 1, {ARG_TYPE_UINT} ), #endif // MOVEPLACE_PATCH diff --git a/config.mk b/config.mk index 1c54ec6..0ff4840 100644 --- a/config.mk +++ b/config.mk @@ -25,7 +25,7 @@ FREETYPEINC = /usr/include/freetype2 # Uncomment this for the alpha patch / BAR_ALPHA_PATCH #XRENDER = -lXrender -# Uncomment this for the mdpcontrol patch / MDPCONTROL_PATCH +# Uncomment this for the mpdcontrol patch / MPDCONTROL_PATCH #MPDCLIENT = -lmpdclient # Uncomment for the pango patch / BAR_PANGO_PATCH diff --git a/patch/include.c b/patch/include.c index 69092aa..27ff539 100644 --- a/patch/include.c +++ b/patch/include.c @@ -162,8 +162,8 @@ #if MAXIMIZE_PATCH #include "maximize.c" #endif -#if MDPCONTROL_PATCH -#include "mdpcontrol.c" +#if MPDCONTROL_PATCH +#include "mpdcontrol.c" #endif #if MOVEPLACE_PATCH #include "moveplace.c" diff --git a/patch/include.h b/patch/include.h index e7ba3bb..c13d73b 100644 --- a/patch/include.h +++ b/patch/include.h @@ -158,8 +158,8 @@ #if MAXIMIZE_PATCH #include "maximize.h" #endif -#if MDPCONTROL_PATCH -#include "mdpcontrol.h" +#if MPDCONTROL_PATCH +#include "mpdcontrol.h" #endif #if MOVEPLACE_PATCH #include "moveplace.h" diff --git a/patch/mdpcontrol.c b/patch/mpdcontrol.c similarity index 100% rename from patch/mdpcontrol.c rename to patch/mpdcontrol.c diff --git a/patch/mdpcontrol.h b/patch/mpdcontrol.h similarity index 100% rename from patch/mdpcontrol.h rename to patch/mpdcontrol.h diff --git a/patches.def.h b/patches.def.h index 6911946..8ddcd23 100644 --- a/patches.def.h +++ b/patches.def.h @@ -611,7 +611,7 @@ * - libmpdclient * https://dwm.suckless.org/patches/mpdcontrol/ */ -#define MDPCONTROL_PATCH 0 +#define MPDCONTROL_PATCH 0 /* Adds rules per monitor, e.g. have default layouts per monitor. * The use case for this is if the second monitor is vertical (i.e. rotated) then