diff options
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index bf9f43e..8b0f4fe 100644 --- a/config.def.h +++ b/config.def.h @@ -1,3 +1,5 @@ +#include <X11/XF86keysym.h> +  /* Taken from https://github.com/djpohly/dwl/issues/466 */  #define COLOR(hex)    { ((hex >> 24) & 0xFF) / 255.0f, \                          ((hex >> 16) & 0xFF) / 255.0f, \ @@ -184,6 +186,9 @@ static const Key keys[] = {  #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(7), CHVT(8), CHVT(9), CHVT(10), CHVT(11), CHVT(12), +	{ 0,XF86XK_AudioRaiseVolume, spawn,{.v = upvol } }, +	{ 0,XF86XK_AudioLowerVolume, spawn,{.v = downvol } }, +	{ 0,XF86XK_AudioMute,spawn,{.v = mute } },  };  static const Button buttons[] = {  | 
