From 611cf852c9f3e0ddb4092e2c536f7f96218167d3 Mon Sep 17 00:00:00 2001 From: hellisabove Date: Sun, 25 Jul 2021 03:49:39 +0300 Subject: [PATCH] Fixed brightness controls --- config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index f365ebf..ebeb84c 100644 --- a/config.h +++ b/config.h @@ -71,8 +71,8 @@ static const char *upvol[] = { "amixer", "-q", "set", "Master", "5%+", "unmute static const char *downvol[] = { "amixer", "-q", "set", "Master", "5%-", "unmute", NULL }; static const char *mutevol[] = { "amixer", "-q", "set", "Master", "toggle", NULL }; //Brightness Controls -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/brightness", "+10", NULL}; +static const char *brightdown[] = { "/usr/bin/brightness", "-10", NULL}; //Launches LibreWolf Browser static const char *browser[] = { "librewolf", NULL };