From e747b593fb6735f8a4ac15e1e7a5c29e7802e113 Mon Sep 17 00:00:00 2001 From: wiebel Date: Wed, 31 Jul 2024 01:21:45 +0200 Subject: [PATCH] brightnessctl --- config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index 1d7034f..d51d7ad 100644 --- a/config.h +++ b/config.h @@ -313,8 +313,8 @@ static Key keys[] = { { ALTKEY|ControlMask, XK_l, spawn, SHCMD("/usr/local/bin/lock.me") }, { 0, XK_Print, spawn, SHCMD("/usr/bin/spectacle") }, /* Media Keys */ - { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") }, - { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 5") }, + { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("brightnessctl s +5%") }, + { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("brightnwssctl s 5%-") }, { 0, XF86XK_AudioRaiseVolume, spawn, {.v = volup } }, { 0, XF86XK_AudioLowerVolume, spawn, {.v = voldn } }, { 0, XF86XK_AudioMute, spawn, {.v = volmute } },