Replace xorg-xbacklight by brightnessctl

This commit is contained in:
Franck STAUFFER 2021-01-18 09:01:05 +01:00
parent 560e005686
commit 01f93cd68f
Signed by: franck.stauffer
GPG Key ID: AAF5A94045CEC261
1 changed files with 2 additions and 2 deletions

View File

@ -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 */