Add brightness control
This commit is contained in:
parent
5cdd3b25d6
commit
f916445cac
2
config.h
2
config.h
@ -173,6 +173,8 @@ static Key keys[] = {
|
|||||||
{ 0, XF86AudioLowerVolume, spawn, SHCMD("volume-set 2%-")},
|
{ 0, XF86AudioLowerVolume, spawn, SHCMD("volume-set 2%-")},
|
||||||
{ 0, XF86AudioRaiseVolume, spawn, SHCMD("volume-set 2%+")},
|
{ 0, XF86AudioRaiseVolume, spawn, SHCMD("volume-set 2%+")},
|
||||||
{ 0, XF86AudioMute, spawn, SHCMD("amixer -D pulse sset Master toggle")},
|
{ 0, XF86AudioMute, spawn, SHCMD("amixer -D pulse sset Master toggle")},
|
||||||
|
{ 0, XF86MonBrightnessDown, spawn, SHCMD("brightnessctl s 10%-")},
|
||||||
|
{ 0, XF86MonBrightnessUp, spawn, SHCMD("brightnessctl s +10%")},
|
||||||
|
|
||||||
TAGKEYS( XK_1, 0)
|
TAGKEYS( XK_1, 0)
|
||||||
TAGKEYS( XK_2, 1)
|
TAGKEYS( XK_2, 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user