add xf86brightness up and down

add xf86brightness up and down using xbacklight
This commit is contained in:
Nikki Satmaka 2020-04-04 16:14:38 +07:00 committed by GitHub
parent e258228064
commit e7eecb4dfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -227,6 +227,8 @@ static Key keys[] = {
{ 0, XF86XK_TouchpadToggle, spawn, SHCMD("(synclient | grep 'TouchpadOff.*1' && synclient TouchpadOff=0) || synclient TouchpadOff=1") },
{ 0, XF86XK_TouchpadOff, spawn, SHCMD("synclient TouchpadOff=1") },
{ 0, XF86XK_TouchpadOn, spawn, SHCMD("synclient TouchpadOff=0") },
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 15") },
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 15") },
/* { MODKEY, XK_space, setlayout, {0} }, */