From 01f93cd68f7486a8f355ea9ff9f291564923d99f Mon Sep 17 00:00:00 2001 From: Franck STAUFFER Date: Mon, 18 Jan 2021 09:01:05 +0100 Subject: [PATCH] Replace xorg-xbacklight by brightnessctl --- config.def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index a5dc95d..f0b774a 100644 --- a/config.def.h +++ b/config.def.h @@ -63,8 +63,8 @@ static const char *webcmd[] = { "/usr/lib/firefox/firefox", NULL }; static const char *volup[] = { "/usr/bin/pactl", "set-sink-volume", "@DEFAULT_SINK@", "+5%", NULL}; static const char *voldown[] = { "/usr/bin/pactl", "set-sink-volume", "@DEFAULT_SINK@", "-5%", NULL}; static const char *volmute[] = { "/usr/bin/pactl", "set-sink-mute", "0", "toggle", NULL}; -static const char *brightup[] = { "/usr/bin/xbacklight", "-inc", "10%", NULL}; -static const char *brightdown[] = { "/usr/bin/xbacklight", "-dec", "10%", NULL}; +static const char *brightup[] = { "/usr/bin/brightnessctl", "set", "10%+", NULL}; +static const char *brightdown[] = { "/usr/bin/brightnessctl", "set", "10%-", NULL}; static Key keys[] = { /* modifier key function argument */