aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorkrolyxon <krolyxon@tutanota.com>2023-01-28 13:47:07 +0530
committerkrolyxon <krolyxon@tutanota.com>2023-01-28 13:47:07 +0530
commit8ee4b0737b746c52d67585ab557179d4a0728718 (patch)
tree11d174061652655ceeac589960d57a679adb46a8 /config.h
parent7e75d4051f575d601f8b140cc72425d8b5d32db9 (diff)
mpc seek and next, prev keybinds
Diffstat (limited to 'config.h')
-rw-r--r--config.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/config.h b/config.h
index 561ccb1..e7d29e2 100644
--- a/config.h
+++ b/config.h
@@ -101,10 +101,10 @@ static Key keys[] = {
{ MODKEY, XK_f, togglefullscr, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
- { MODKEY, XK_comma, focusmon, {.i = -1 } },
- { MODKEY, XK_period, focusmon, {.i = +1 } },
- { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
- { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
+ { MODKEY, XK_Left, focusmon, {.i = -1 } },
+ { MODKEY|ShiftMask, XK_Left, tagmon, {.i = -1 } },
+ { MODKEY, XK_Right, focusmon, {.i = +1 } },
+ { MODKEY|ShiftMask, XK_Right, tagmon, {.i = +1 } },
// { MODKEY|ShiftMask, XK_h, layoutscroll, {.i = -1 } },
{ MODKEY|ShiftMask, XK_Tab, layoutscroll, {.i = +1 } },
{ MODKEY, XK_minus, setgaps, {.i = -1 } },
@@ -126,7 +126,12 @@ static Key keys[] = {
{ 0, XF86XK_AudioMute, spawn, SHCMD("pamixer -t; kill -34 $(cat ~/.cache/pidofbar") },
{ 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pamixer -i 2; kill -34 $(cat ~/.cache/pidofbar)") },
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pamixer -d 2; kill -34 $(cat ~/.cache/pidofbar)") },
- { MODKEY, XK_p, spawn, {.v = (const char*[]){ "mpc", "toggle", NULL } } },
+
+ { MODKEY, XK_p, spawn, {.v = (const char*[]){ "mpc", "toggle", NULL } } },
+ { MODKEY|ShiftMask, XK_comma, spawn, {.v = (const char*[]){ "mpc", "prev", NULL } } },
+ { MODKEY|ShiftMask, XK_period, spawn, {.v = (const char*[]){ "mpc", "next", NULL } } },
+ { MODKEY, XK_comma, spawn, {.v = (const char*[]){ "mpc", "seek", "-10", NULL } } },
+ { MODKEY, XK_period, spawn, {.v = (const char*[]){ "mpc", "seek", "+10", NULL } } },
};
/* button definitions */