summaryrefslogtreecommitdiff
path: root/volsv
diff options
context:
space:
mode:
Diffstat (limited to 'volsv')
-rwxr-xr-xvolsv3
1 files changed, 1 insertions, 2 deletions
diff --git a/volsv b/volsv
index 2732a1c..9e62a7c 100755
--- a/volsv
+++ b/volsv
@@ -14,8 +14,7 @@ alsasv () {
"up" | "-i") amixer sset Master 5%+ ;;
"down" | "-d") amixer sset Master 5%- ;;
"toggle" | "-t") amixer sset Master toggle ;;
- "mic" | "-m") amixer set Capture toggle ;;
esac
}
# check which it is
-[ ! -z "$(pgrep pulseaudio)" ] && pulsesv $1 || alsasv $1 ; pkill -RTMIN+10 dwmblocks ; touch /tmp/volsv.tmp
+[ ! -z $(pgrep pulseaudio) ] && pulsesv $1 || alsasv $1 ; pkill -RTMIN+10 dwmblocks