commit 9d1e12ba336ba76cdc34940a1d007e60a6aeb20e
parent bb180f67b859d2367c6eab000348d9f16c9ab274
Author: Hayden Hamilton <hayden@haydenvh.com>
Date: Thu, 5 Mar 2020 17:04:28 +0000
sound
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/config.h b/config.h
@@ -91,10 +91,10 @@ static const char *hibernate_[] = { "userinput", "\"Do you want to hibernate the
static Key keys[] = {
/* modifier key function argument */
/* Sys */
- { MODKEY, XK_Escape, spawn, {.v = suspend_ } },
- { MODKEY|ShiftMask, XK_Escape, spawn, {.v = hibernate_ } },
- { MODKEY|ControlMask, XK_Escape, spawn, {.v = halt_ } },
- { MODKEY|AltMask, XK_Escape, spawn, {.v = reboot_ } },
+ { MODKEY, XK_bracketleft, spawn, {.v = suspend_ } },
+ { MODKEY|ShiftMask, XK_bracketleft, spawn, {.v = hibernate_ } },
+ { MODKEY|ControlMask, XK_bracketleft, spawn, {.v = halt_ } },
+ { MODKEY|AltMask, XK_bracketleft, spawn, {.v = reboot_ } },
/* Normal */
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY|ShiftMask, XK_Return, zoom, {0} },
@@ -140,8 +140,8 @@ static Key keys[] = {
{ MODKEY|AltMask, XK_o, spawn, {.v = hmpv_quit } },
{ MODKEY|ControlMask, XK_p, spawn, {.v = hmpv_forward } },
{ MODKEY|AltMask, XK_p, spawn, {.v = hmpv_next } },
- { MODKEY, XK_plus, spawn, {.v = vol_up } },
- { MODKEY, XK_minus, spawn, {.v = vol_down } },
+ { MODKEY|ShiftMask, XK_bracketright, spawn, {.v = vol_up } },
+ { MODKEY|ShiftMask, XK_bracketright, spawn, {.v = vol_down } },
/* Layout */
{ MODKEY|AltMask, XK_1, setlayout, {.v = &layouts[0]} },
{ MODKEY|AltMask, XK_2, setlayout, {.v = &layouts[1]} },