aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <pcmsinan@gmail.com>2023-03-16 21:42:59 +0530
committersinanmohd <pcmsinan@gmail.com>2023-03-16 21:42:59 +0530
commit68f79b1201b5a70025b4e5bae7d4598a0768ec34 (patch)
treeafb7706c47f3905a92f333eda350197c9b5c8161
parent5fea97ea6445c5ca9af51da682889bf44be43801 (diff)
brightness: switchout brictl for brightnessctl
-rw-r--r--config.def.h4
1 files 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 };