add xf86brightness up and down
add xf86brightness up and down using xbacklight
This commit is contained in:
parent
e258228064
commit
e7eecb4dfe
1 changed files with 3 additions and 1 deletions
4
config.h
4
config.h
|
@ -227,7 +227,9 @@ 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} }, */
|
||||
|
||||
/* { MODKEY, XK_comma, focusmon, {.i = -1 } }, */
|
||||
|
|
Loading…
Reference in a new issue