aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorsinanmohd <pcmsinan@gmail.com>2023-03-12 15:04:35 +0530
committersinanmohd <pcmsinan@gmail.com>2023-03-12 15:04:35 +0530
commitfb6b1e09f302605348b3f81701cd9c253ff59eee (patch)
tree85a00ba70b776ca393cc0d42b545309648a6e188 /config.def.h
parent1df76c9893e6314cbea6d112a5d6ad35a99ee7fb (diff)
audio: switchout pactl for wpctl
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h6
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[] = {