From e7eecb4dfe88e0c4b0885797e54036c2b869f839 Mon Sep 17 00:00:00 2001 From: Nikki Satmaka <30800020+NikkiSatmaka@users.noreply.github.com> Date: Sat, 4 Apr 2020 16:14:38 +0700 Subject: [PATCH] add xf86brightness up and down add xf86brightness up and down using xbacklight --- config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 } }, */