From d4fed3cac603ea386d57b8c96f6bc49b3c2eec64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Czy=C5=BC?= Date: Mon, 22 Apr 2024 10:44:25 +0200 Subject: [PATCH] changed to brightnessctl --- config.def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index 44c0488..9ee6c17 100644 --- a/config.def.h +++ b/config.def.h @@ -208,8 +208,8 @@ static const char *mutevol[] = {"pactl", "set-sink-mute", "0", "toggle", NULL}; static const char *downvol[] = {"pactl", "set-sink-volume", "0", "-3%", NULL}; static const char *upvol[] = {"pactl", "set-sink-volume", "0", "+3%", NULL}; static const char *mutemic[] = {"pactl", "set-source-mute", "0", "toggle", NULL}; -static const char *downbrt[] = {"xbacklight", "-dec", "5", NULL}; -static const char *upbrt[] = {"xbacklight", "-inc", "5", NULL}; +static const char *downbrt[] = {"brightnessctl", "s", "5%-", NULL}; +static const char *upbrt[] = {"brightnessctl", "s", "5%+", NULL}; static const char *displ[] = {"arandr", NULL}; static const char *wlan[] = {"kitty", "-e", "nmtui", NULL}; static const char *tools[] = {"lxappearance"};