From 7a949e3a9b13040de60a8c002e65a56dfecf06ea Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Wed, 3 May 2023 11:21:28 +0530 Subject: audio, brightness: add support for wobload --- config.def.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config.def.h b/config.def.h index 00ff52d..a08afc8 100644 --- a/config.def.h +++ b/config.def.h @@ -110,11 +110,11 @@ static const char *dbook[] = { "dbook", NULL }; /* control */ static const char *scrlock[] = { "swaylock", 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 }; +static const char *upbri[] = { "wobload", "brightnessctl", "set", "+1%", NULL }; +static const char *downbri[] = { "wobload", "brightnessctl", "set", "1%-", NULL }; +static const char *upvol[] = { "wobload", "wpctl", "set-volume", "@DEFAULT_AUDIO_SINK@", "5%+", NULL }; +static const char *downvol[] = { "wobload", "wpctl", "set-volume", "@DEFAULT_AUDIO_SINK@", "5%-", NULL }; +static const char *voltogl[] = { "wobload", "wpctl", "set-mute", "@DEFAULT_AUDIO_SINK@", "toggle", NULL }; static const char *mutemic[] = { "audio_mutemic", NULL }; static const Key keys[] = { -- cgit v1.2.3