diff options
author | sinanmohd <sinan@firemail.cc> | 2023-05-03 11:21:28 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-05-03 11:21:28 +0530 |
commit | 7a949e3a9b13040de60a8c002e65a56dfecf06ea (patch) | |
tree | 211e450365bcf39864022f6aed4d0d01a383fb46 | |
parent | d3d066abc722dc4960879d87330bfc2f5f54f64a (diff) |
audio, brightness: add support for wobload
-rw-r--r-- | config.def.h | 10 |
1 files 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[] = { |