Added MOD+F11,MOD+F12 to up/down brightness.

Signed-off-by: Marcin Wozniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-08-09 17:17:43 +02:00 committed by Marcin Wozniak
parent d4ef229965
commit 2ddc52f057

View File

@ -26,7 +26,7 @@ static const Rule rules[] = {
{ "Gkrellm", NULL, NULL, 1 << 0, True, 0 },
{ "Gimp", NULL, NULL, 0, True, 0 },
{ NULL, NULL, "pulsemixer", 0, True, 0 },
{ "Google-chrome", NULL, NULL, 1 << 1, False, 0 },
{ "Brave", NULL, NULL, 1 << 1, False, 0 },
{ "Firefox", NULL, NULL, 1 << 1, False, 0 },
{ "Thunderbird", NULL, NULL, 1 << 2, False, 0 },
{ "Steam", NULL, NULL, 1 << 3, False, 0 },
@ -88,6 +88,8 @@ static Key keys[] = {
{ MODKEY|ShiftMask, XK_F3, spawn, SHCMD ("cmus-remote -v +5%")},
{ MODKEY, XK_F3, spawn, SHCMD ("ponymix increase 5")},
{ MODKEY, XK_F10, spawn, {.v = screenswitcher} },
{ MODKEY, XK_F11, spawn, SHCMD ("sudo light -U 10")},
{ MODKEY, XK_F12, spawn, SHCMD ("sudo light -A 10")},
{0, XK_Print, spawn, {.v = print_screen_cmd } },
{ MODKEY, XK_Print, spawn, {.v = print_screen_cmd_area } },
{ MODKEY, XK_l, spawn, {.v = cmdlock } },