From fb6b1e09f302605348b3f81701cd9c253ff59eee Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sun, 12 Mar 2023 15:04:35 +0530 Subject: audio: switchout pactl for wpctl --- config.def.h | 6 +++--- 1 file 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[] = { -- cgit v1.2.3