Volume config not working
Closed this issue · 3 comments
paoloros97 commented
Hi!
This is already possible, try this config:
<gesture type="SWIPE" fingers="3" direction="UP">
<action type="RUN_COMMAND">
<repeat>true</repeat>
<command>pactl set-sink-volume 0 +10%</command>
<decreaseCommand>pactl set-sink-volume 0 -10%</decreaseCommand>
</action>
</gesture>
<gesture type="SWIPE" fingers="3" direction="DOWN">
<action type="RUN_COMMAND">
<repeat>true</repeat>
<command>pactl set-sink-volume 0 -10%</command>
<decreaseCommand>pactl set-sink-volume 0 +10%</decreaseCommand>
</action>
</gesture>
Originally posted by @JoseExposito in #470 (comment)
Hello Jose,
I've tried to use this configuration, but it doesn't work for me :(
I got the following error:
Failed to get sink information: No such entity
Can you help me please?
Thank you :)
JoseExposito commented
Have you tried the other workaround suggested? #470 (comment)
paoloros97 commented
It works!
Thank you
paoloros97 commented
This work!
without using xdotool
<gesture type="SWIPE" fingers="4" direction="UP">
<action type="RUN_COMMAND">
<repeat>true</repeat>
<command>pactl set-sink-volume @DEFAULT_SINK@ +10%</command>
<decreaseCommand>pactl set-sink-volume @DEFAULT_SINK@ -10%</decreaseCommand>
</action>
</gesture>
<gesture type="SWIPE" fingers="4" direction="DOWN">
<action type="RUN_COMMAND">
<repeat>true</repeat>
<command>pactl set-sink-volume @DEFAULT_SINK@ -10%</command>
<decreaseCommand>pactl set-sink-volume @DEFAULT_SINK@ +10%</decreaseCommand>
</action>
</gesture>