aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2019-12-18 22:54:49 +0000
committerdakkar <dakkar@thenautilus.net>2019-12-18 22:54:49 +0000
commitd30b64ad33a4d4e9d53c1e0ab4b0236f10dd5309 (patch)
tree823f4eb9fc18c30981a6acc7324551f4cc335c3e
parentMerge branch 'master' into laptop (diff)
parenthandle volume/mute via pactl (diff)
downloadfvwm-crystal-laptop.tar.gz
fvwm-crystal-laptop.tar.bz2
fvwm-crystal-laptop.zip
Merge remote-tracking branch 'origin/master' into laptoplaptop
-rw-r--r--components/functions/Mixer6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/functions/Mixer b/components/functions/Mixer
index 260faeb..df236d2 100644
--- a/components/functions/Mixer
+++ b/components/functions/Mixer
@@ -1,14 +1,14 @@
DestroyFunc Change-Volume-Up
AddToFunc Change-Volume-Up
-+ I exec amixer set Master 10%+ >/dev/null
++ I exec pactl set-sink-volume '@DEFAULT_SINK@' +10% >/dev/null
DestroyFunc Change-Volume-Down
AddToFunc Change-Volume-Down
-+ I exec amixer set Master 10%- >/dev/null
++ I exec pactl set-sink-volume '@DEFAULT_SINK@' -10% >/dev/null
DestroyFunc Mixer-Volume-Toggle
AddToFunc Mixer-Volume-Toggle
-+ I exec amixer set Master toggle >/dev/null
++ I exec pactl set-sink-mute '@DEFAULT_SINK@' toggle >/dev/null
DestroyFunc Mixer-Show
AddToFunc Mixer-Show