From 68f79b1201b5a70025b4e5bae7d4598a0768ec34 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Thu, 16 Mar 2023 21:42:59 +0530 Subject: brightness: switchout brictl for brightnessctl --- config.def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index 47d4599..2d959dd 100644 --- a/config.def.h +++ b/config.def.h @@ -113,8 +113,8 @@ static const char *dbook[] = { "dbook", NULL }; /* control */ static const char *scrlock[] = { "waylock", "-init-color", "0x000000", NULL }; -static const char *upbri[] = { "brictl", "-i", "1", NULL }; -static const char *downbri[] = { "brictl", "-d", "1", NULL }; +static const char *upbri[] = { "brightnessctl", "set", "+1%", NULL }; +static const char *downbri[] = { "brightnessctl", "set", "1%-", NULL }; static const char *upvol[] = { "wpctl", "set-volume", "@DEFAULT_AUDIO_SINK@", "5%+", NULL }; static const char *downvol[] = { "wpctl", "set-volume", "@DEFAULT_AUDIO_SINK@", "5%-", NULL }; static const char *voltogl[] = { "wpctl", "set-mute", "@DEFAULT_AUDIO_SINK@", "toggle", NULL }; -- cgit v1.2.3