This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SINK=0 # default sink | |
STEP=10 # % | |
POINTS=`pacmd list-sinks | awk '/volume steps/ {print $3}'` | |
ONE_PERCENT=`expr $POINTS / 100` | |
ISMUTED=`pacmd list-sinks | awk '/mute/ {print $2}' ` | |
CURRENT_VOLUME=; | |
function live { |