From f916445cac994004f7d6c9057c9c5d72e46b7a3b Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Sat, 29 Jul 2023 09:54:33 +0200 Subject: [PATCH] Add brightness control --- config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config.h b/config.h index d962e32..9b048d1 100644 --- a/config.h +++ b/config.h @@ -173,6 +173,8 @@ static Key keys[] = { { 0, XF86AudioLowerVolume, spawn, SHCMD("volume-set 2%-")}, { 0, XF86AudioRaiseVolume, spawn, SHCMD("volume-set 2%+")}, { 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_2, 1)