Compare commits
No commits in common. "c2f0c17feda6aad92f4c235cc733a40da831374a" and "9e119a9c040ba108f9c4999b880e0bc0888cb854" have entirely different histories.
c2f0c17fed
...
9e119a9c04
1 changed files with 3 additions and 15 deletions
18
config.h
18
config.h
|
@ -71,13 +71,9 @@ static const Layout layouts[] = {
|
||||||
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
||||||
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_black, "-nf", col_amber, "-sb", col_amber, "-sf", col_black, NULL };
|
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_black, "-nf", col_amber, "-sb", col_amber, "-sf", col_black, NULL };
|
||||||
static const char *termcmd[] = { "st", NULL };
|
static const char *termcmd[] = { "st", NULL };
|
||||||
static const char *upvol[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", "+5%", NULL };
|
static const char *upvol[] = { "/usr/bin/pactl", "set-sink-volume", "@DEFAULT_SINK@", "+5%", NULL };
|
||||||
static const char *downvol[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", "-5%", NULL };
|
static const char *downvol[] = { "/usr/bin/pactl", "set-sink-volume", "@DEFAULT_SINK@", "-5%", NULL };
|
||||||
static const char *mutevol[] = { "pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", NULL };
|
static const char *mutevol[] = { "/usr/bin/pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", NULL };
|
||||||
static const char *plstop[] = { "playerctl", "stop", NULL };
|
|
||||||
static const char *plpause[] = { "playerctl", "play-pause", NULL };
|
|
||||||
static const char *plnext[] = { "playerctl", "previous", NULL };
|
|
||||||
static const char *plprev[] = { "playerctl", "next", NULL };
|
|
||||||
|
|
||||||
static const Key keys[] = {
|
static const Key keys[] = {
|
||||||
/* modifier key function argument */
|
/* modifier key function argument */
|
||||||
|
@ -135,14 +131,6 @@ static const Key keys[] = {
|
||||||
{ WINKEY, XK_F10, spawn, {.v = downvol } },
|
{ WINKEY, XK_F10, spawn, {.v = downvol } },
|
||||||
{ WINKEY, XK_F11, spawn, {.v = upvol } },
|
{ WINKEY, XK_F11, spawn, {.v = upvol } },
|
||||||
{ WINKEY, XK_F9, spawn, {.v = mutevol } },
|
{ WINKEY, XK_F9, spawn, {.v = mutevol } },
|
||||||
{ WINKEY, XK_F5, spawn, {.v = plprev } },
|
|
||||||
{ WINKEY, XK_F6, spawn, {.v = plnext } },
|
|
||||||
{ WINKEY, XK_F7, spawn, {.v = plpause } },
|
|
||||||
{ WINKEY, XK_F8, spawn, {.v = plstop } },
|
|
||||||
{ WINKEY, XF86XK_AudioPrev, spawn, {.v = plprev } },
|
|
||||||
{ WINKEY, XF86XK_AudioNext, spawn, {.v = plnext } },
|
|
||||||
{ WINKEY, XF86XK_AudioPause, spawn, {.v = plpause } },
|
|
||||||
{ WINKEY, XF86XK_AudioStop, spawn, {.v = plstop } },
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* button definitions */
|
/* button definitions */
|
||||||
|
|
Loading…
Reference in a new issue