|
|
@ -94,6 +94,10 @@ static const char *togglevolcmd[] = |
|
|
|
/* toggle microphone */ |
|
|
|
/* toggle microphone */ |
|
|
|
static const char *togglemiccmd[] = |
|
|
|
static const char *togglemiccmd[] = |
|
|
|
{ "/usr/bin/amixer", "set", "Capture", "toggle", NULL }; |
|
|
|
{ "/usr/bin/amixer", "set", "Capture", "toggle", NULL }; |
|
|
|
|
|
|
|
/* brightness up */ |
|
|
|
|
|
|
|
static const char *brightness_up[] = { "xbacklight", "-inc", "10", NULL }; |
|
|
|
|
|
|
|
/* brightness down */ |
|
|
|
|
|
|
|
static const char *brightness_down[] = { "xbacklight", "-dec", "10", NULL }; |
|
|
|
|
|
|
|
|
|
|
|
static const Key keys[] = { |
|
|
|
static const Key keys[] = { |
|
|
|
/* modifier key function argument */ |
|
|
|
/* modifier key function argument */ |
|
|
@ -101,6 +105,8 @@ static const Key keys[] = { |
|
|
|
{ 0, XF86XK_AudioLowerVolume, spawn, { .v = downvolcmd } }, |
|
|
|
{ 0, XF86XK_AudioLowerVolume, spawn, { .v = downvolcmd } }, |
|
|
|
{ 0, XF86XK_AudioMute, spawn, { .v = togglevolcmd } }, |
|
|
|
{ 0, XF86XK_AudioMute, spawn, { .v = togglevolcmd } }, |
|
|
|
{ 0, XF86XK_AudioMicMute, spawn, { .v = togglemiccmd } }, |
|
|
|
{ 0, XF86XK_AudioMicMute, spawn, { .v = togglemiccmd } }, |
|
|
|
|
|
|
|
{ 0, XF86XK_MonBrightnessUp, spawn, { .v = brightness_up } }, |
|
|
|
|
|
|
|
{ 0, XF86XK_MonBrightnessDown, spawn, { .v = brightness_down } }, |
|
|
|
{ MODKEY, XK_p, spawn, {.v = roficmd } }, |
|
|
|
{ MODKEY, XK_p, spawn, {.v = roficmd } }, |
|
|
|
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, |
|
|
|
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, |
|
|
|
{ MODKEY, XK_b, togglebar, {0} }, |
|
|
|
{ MODKEY, XK_b, togglebar, {0} }, |
|
|
|