summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-04-04 07:40:51 -0400
committerGitHub <noreply@github.com>2020-04-04 07:40:51 -0400
commitf924768acdf3fea4bfc9442570421be58f2de7db (patch)
treebad95e564514cb0197ed48311ed388f8925af568 /config.h
parente258228064b0784d3ac3142ce084d4a432348edb (diff)
parente7eecb4dfe88e0c4b0885797e54036c2b869f839 (diff)
Merge pull request #27 from NikkiSatmaka/NikkiSatmaka
add xf86brightness up and down
Diffstat (limited to 'config.h')
-rw-r--r--config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.h b/config.h
index 3897600..638d6a5 100644
--- a/config.h
+++ b/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 } }, */