aboutsummaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-07-03 18:58:01 +0200
committerRomain Gonçalves <me@rgoncalves.se>2023-06-05 18:16:06 +0200
commitf8561d306768d25172353a625998ade09b0d44b3 (patch)
tree970b912d7f8a8b5dd815be776163ba56aaf20db0 /config.h
parent75e402a66c8f408fe1ec339c119cb0d11dc22ce6 (diff)
downloaddwm-f8561d306768d25172353a625998ade09b0d44b3.tar.gz
config.h: enable next/prev media key for hhkb
Diffstat (limited to 'config.h')
-rw-r--r--config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.h b/config.h
index 1b345e0..d693400 100644
--- a/config.h
+++ b/config.h
@@ -98,7 +98,7 @@ static Key keys[] = {
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
- /* volume */
+ /* media */
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = audio_increase_cmd } },
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = audio_decrease_cmd } },
{ 0, XF86XK_AudioMicMute, spawn, {.v = audio_toggle_microphone_cmd } },
@@ -108,6 +108,8 @@ static Key keys[] = {
{ 0, XF86XK_AudioPlay, spawn, {.v = audio_play_cmd } },
{ 0, XF86XK_MonBrightnessUp, spawn, {.v = light_increase_cmd } },
{ 0, XF86XK_MonBrightnessDown, spawn, {.v = light_decrease_cmd } },
+ { MODKEY|ShiftMask, XK_Right, spawn, {.v = audio_next_cmd } },
+ { MODKEY|ShiftMask, XK_Left, spawn, {.v = audio_prev_cmd } },
/* commands */
{ MODKEY|ShiftMask, XK_F12, spawn, {.v = lock_suspend_cmd } },
{ MODKEY, XK_F12, spawn, {.v = lock_cmd } },
remember that computers suck.