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
2
config.h
2
config.h
|
@ -227,6 +227,8 @@ static Key keys[] = {
|
||||||
{ 0, XF86XK_TouchpadToggle, spawn, SHCMD("(synclient | grep 'TouchpadOff.*1' && synclient TouchpadOff=0) || synclient TouchpadOff=1") },
|
{ 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_TouchpadOff, spawn, SHCMD("synclient TouchpadOff=1") },
|
||||||
{ 0, XF86XK_TouchpadOn, spawn, SHCMD("synclient TouchpadOff=0") },
|
{ 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_space, setlayout, {0} }, */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue