From f8561d306768d25172353a625998ade09b0d44b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sun, 3 Jul 2022 18:58:01 +0200 Subject: config.h: enable next/prev media key for hhkb --- config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'config.h') 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 } }, -- cgit v1.2.3