commit 1b1239cb000a775e27c205834e6a4979f15c1eeb parent 7ce8ac79c3210f1d4aa01189f29d3a3f08dacae3 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Fri, 4 Oct 2019 13:49:22 +0200 Add audio mixer script Diffstat:
A | .local/bin/audiomixer | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/.local/bin/audiomixer b/.local/bin/audiomixer @@ -0,0 +1,11 @@ +#!/bin/sh + +if type cmixer >/dev/null 2>&1; then + cmixer +elif type pulsemixer >/dev/null 2>&1; then + pulsemixer +elif type alsamixer >/dev/null 2>&1; then + alsamixer +else + (>&2 echo "error: no audio mixer found") +fi