add xf86keysym.patch
parent
c2b836d03e
commit
a2f3ca51f8
11
config.def.h
11
config.def.h
|
@ -1,3 +1,4 @@
|
||||||
|
#include <X11/XF86keysym.h>
|
||||||
/* appearance */
|
/* appearance */
|
||||||
static const int sloppyfocus = 1; /* focus follows mouse */
|
static const int sloppyfocus = 1; /* focus follows mouse */
|
||||||
static const unsigned int borderpx = 1; /* border pixel of windows */
|
static const unsigned int borderpx = 1; /* border pixel of windows */
|
||||||
|
@ -168,10 +169,9 @@ static const Key keys[] = {
|
||||||
TAGKEYS( XKB_KEY_8, XKB_KEY_asterisk, 7),
|
TAGKEYS( XKB_KEY_8, XKB_KEY_asterisk, 7),
|
||||||
TAGKEYS( XKB_KEY_9, XKB_KEY_parenleft, 8),
|
TAGKEYS( XKB_KEY_9, XKB_KEY_parenleft, 8),
|
||||||
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Q, quit, {0} },
|
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Q, quit, {0} },
|
||||||
{MODKEY, XKB_KEY_F10, spawn, {.v = volmute} },
|
//{MODKEY, XKB_KEY_F10, spawn, {.v = volmute} },
|
||||||
{MODKEY, XKB_KEY_F11, spawn, {.v = voldown} },
|
//{MODKEY, XKB_KEY_F11, spawn, {.v = voldown} },
|
||||||
{MODKEY, XKB_KEY_F12, spawn, {.v = volup} },
|
//{MODKEY, XKB_KEY_F12, spawn, {.v = volup} },
|
||||||
//{NULL, XKB_KEY_F12, spawn, {.v = volup} },
|
|
||||||
|
|
||||||
|
|
||||||
/* Ctrl-Alt-Backspace and Ctrl-Alt-Fx used to be handled by X server */
|
/* Ctrl-Alt-Backspace and Ctrl-Alt-Fx used to be handled by X server */
|
||||||
|
@ -179,6 +179,9 @@ static const Key keys[] = {
|
||||||
#define CHVT(n) { WLR_MODIFIER_CTRL|WLR_MODIFIER_ALT,XKB_KEY_XF86Switch_VT_##n, chvt, {.ui = (n)} }
|
#define CHVT(n) { WLR_MODIFIER_CTRL|WLR_MODIFIER_ALT,XKB_KEY_XF86Switch_VT_##n, chvt, {.ui = (n)} }
|
||||||
CHVT(1), CHVT(2), CHVT(3), CHVT(4), CHVT(5), CHVT(6),
|
CHVT(1), CHVT(2), CHVT(3), CHVT(4), CHVT(5), CHVT(6),
|
||||||
CHVT(7), CHVT(8), CHVT(9), CHVT(10), CHVT(11), CHVT(12),
|
CHVT(7), CHVT(8), CHVT(9), CHVT(10), CHVT(11), CHVT(12),
|
||||||
|
{ 0,XF86XK_AudioRaiseVolume, spawn,{.v = volup } },
|
||||||
|
{ 0,XF86XK_AudioLowerVolume, spawn,{.v = voldown } },
|
||||||
|
{ 0,XF86XK_AudioMute,spawn,{.v = volmute } },
|
||||||
};
|
};
|
||||||
|
|
||||||
static const Button buttons[] = {
|
static const Button buttons[] = {
|
||||||
|
|
Loading…
Reference in New Issue