aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrolyxon <krolyxon@tutanota.com>2023-10-02 15:43:17 +0530
committerkrolyxon <krolyxon@tutanota.com>2023-10-02 15:43:17 +0530
commit65d44905e6ab8a9a6aaaa485080537ba962a84ee (patch)
treea40603d8eeed4cd30b1131d7e1debf9d4520c020
parentd03a3b0cd5b63bfd2b247f6be1a31e80f227e7fc (diff)
add brightness control
-rw-r--r--config.h2
-rwxr-xr-xdwmbin76760 -> 76952 bytes
2 files changed, 2 insertions, 0 deletions
diff --git a/config.h b/config.h
index dfef0e0..55dac57 100644
--- a/config.h
+++ b/config.h
@@ -137,6 +137,8 @@ static Key keys[] = {
{ 0, XF86XK_AudioStop, spawn, {.v = (const char*[]){ "mpc", "stop", NULL } } },
{ 0, XF86XK_AudioRewind, spawn, {.v = (const char*[]){ "mpc", "seek", "-10", NULL } } },
{ 0, XF86XK_AudioForward, spawn, {.v = (const char*[]){ "mpc", "seek", "+10", NULL } } },
+ { 0, XF86XK_MonBrightnessUp, spawn, {.v = (const char*[]){ "backlight_control", "+15", NULL } } },
+ { 0, XF86XK_MonBrightnessDown, spawn, {.v = (const char*[]){ "backlight_control", "-15", NULL } } },
{ MODKEY, XK_p, spawn, {.v = (const char*[]){ "mpc", "toggle", NULL } } },
{ MODKEY|ShiftMask, XK_comma, spawn, {.v = (const char*[]){ "mpc", "prev", NULL } } },
diff --git a/dwm b/dwm
index c79e905..40de853 100755
--- a/dwm
+++ b/dwm
Binary files differ