summaryrefslogtreecommitdiff
path: root/scripts/.local/bin/mixer
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/.local/bin/mixer')
-rwxr-xr-xscripts/.local/bin/mixer8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/.local/bin/mixer b/scripts/.local/bin/mixer
index a4ac844..7dd43e6 100755
--- a/scripts/.local/bin/mixer
+++ b/scripts/.local/bin/mixer
@@ -3,14 +3,14 @@
# Pulseaudio or Alsa audio binds
case $1 in
"+")
- amixer set Master 1%+
+ pamixer -i 1
;;
"-")
- amixer set Master 1%-
+ pamixer -d 1
;;
t)
- amixer set Master toggle
+ pamixer -t
;;
m)
- amixer set Capture toggle
+ pamixer --default-source -t
esac