summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-03-29 12:02:15 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-03-29 12:02:15 -0400
commit49247875e0cdd9de5019090ab525c0d700ba178a (patch)
tree99e1873475f502923bd7e0eefdaaef0cbcc5b2db /.local/bin
parent97cd22f7fc780e7753e72684380ae79d6069ef3b (diff)
downloadeibhear-49247875e0cdd9de5019090ab525c0d700ba178a.tar.gz
eibhear-49247875e0cdd9de5019090ab525c0d700ba178a.tar.zst
eibhear-49247875e0cdd9de5019090ab525c0d700ba178a.zip
lmc can run mixer
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/lmc5
1 files changed, 4 insertions, 1 deletions
diff --git a/.local/bin/lmc b/.local/bin/lmc
index bbe99a5..6d64b64 100755
--- a/.local/bin/lmc
+++ b/.local/bin/lmc
@@ -10,11 +10,13 @@ if [ "$PULSE" ]; then
mute() { pulsemixer --mute ;}
up() { pulsemixer --change-volume +"$NUM" ;}
down() { pulsemixer --change-volume -"$NUM" ;}
+ control() { pulsemixer ;}
else
toggle() { amixer sset Master toggle ;}
mute() { amixer sset Master mute ;}
up() { amixer sset Master "$NUM"%+ ;}
down() { amixer sset Master "$NUM"%- ;}
+ control() { alsamixer ;}
fi
case "$1" in
@@ -22,6 +24,7 @@ case "$1" in
mute) mute ;;
up) up ;;
down) down ;;
-esac >/dev/null
+ control) control ;;
+esac
pkill -RTMIN+10 "${STATUSBAR:?}" &