diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2022-07-03 18:58:01 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2023-06-05 18:16:06 +0200 |
commit | f8561d306768d25172353a625998ade09b0d44b3 (patch) | |
tree | 970b912d7f8a8b5dd815be776163ba56aaf20db0 /config.h | |
parent | 75e402a66c8f408fe1ec339c119cb0d11dc22ce6 (diff) | |
download | dwm-f8561d306768d25172353a625998ade09b0d44b3.tar.gz |
config.h: enable next/prev media key for hhkb
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 } }, |