Add playerctl keybindings
This commit is contained in:
parent
3a03d9b138
commit
5c1cf3318b
|
@ -236,6 +236,9 @@ static Key keys[] = {
|
||||||
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pulsemixer --change-volume -1; sigdwmblocks 2") },
|
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pulsemixer --change-volume -1; sigdwmblocks 2") },
|
||||||
{ 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pulsemixer --change-volume +1; sigdwmblocks 2") },
|
{ 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pulsemixer --change-volume +1; sigdwmblocks 2") },
|
||||||
{ 0, XF86XK_AudioMute, spawn, SHCMD("pulsemixer --toggle-mute; sigdwmblocks 2") },
|
{ 0, XF86XK_AudioMute, spawn, SHCMD("pulsemixer --toggle-mute; sigdwmblocks 2") },
|
||||||
|
{ 0, XF86XK_AudioPlay, spawn, SHCMD("$HOME/.local/bin/playerctl play-pause") },
|
||||||
|
{ 0, XF86XK_AudioNext, spawn, SHCMD("$HOME/.local/bin/playerctl next") },
|
||||||
|
{ 0, XF86XK_AudioPrev, spawn, SHCMD("$HOME/.local/bin/playerctl previous") },
|
||||||
#ifdef LAPTOP
|
#ifdef LAPTOP
|
||||||
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 5") },
|
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 5") },
|
||||||
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") },
|
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") },
|
||||||
|
|
Loading…
Reference in New Issue