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