mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
mpdcontrol: fixing typo, mpd (music player daemon), not mdp
This commit is contained in:
parent
ac4845bcde
commit
c47f61387d
@ -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/)
|
||||
|
12
config.def.h
12
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
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user