blob: 5ad42f3c25c02ccf603d7b1f67ccc652bc191329 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env dash
case $BLOCK_BUTTON in
3) pamixer --toggle-mute ;; # right click
4) pamixer --increase 5 ;; # scroll up
5) pamixer --decrease 5 ;; # scroll down
esac
volume=`pamixer --get-volume-human`
echo ": $volume"
|