diff options
author | sinanmohd <pcmsinan@gmail.com> | 2023-03-12 15:04:35 +0530 |
---|---|---|
committer | sinanmohd <pcmsinan@gmail.com> | 2023-03-12 15:04:35 +0530 |
commit | fb6b1e09f302605348b3f81701cd9c253ff59eee (patch) | |
tree | 85a00ba70b776ca393cc0d42b545309648a6e188 | |
parent | 1df76c9893e6314cbea6d112a5d6ad35a99ee7fb (diff) |
audio: switchout pactl for wpctl
-rw-r--r-- | config.def.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h index 4863daa..2c716bb 100644 --- a/config.def.h +++ b/config.def.h @@ -114,9 +114,9 @@ static const char *damb[] = { "damb", NULL }; 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 *upvol[] = { "pamixer", "-i", "5", NULL }; -static const char *downvol[] = { "pamixer", "-d", "5", NULL }; -static const char *voltogl[] = { "pamixer", "-t", 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 *mutemic[] = { "mutemic", NULL }; static const Key keys[] = { |