Commit: 323e7f3727479dca676c02ac66061f36a240562e
Parent: e9307a771a3e181a5d61f1ddfcb2a2815bc0091e
Author: Randy Palamar
Date: Mon, 12 Apr 2021 14:45:55 -0600
add volume script and rename secrets to local in kshrc
Diffstat:
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/.config/ksh/kshrc b/.config/ksh/kshrc
@@ -8,7 +8,7 @@ KSHDIR=~/.config/ksh
#########################
# Environment Variables #
#########################
-[ -f $KSHDIR/secrets ] && . $KSHDIR/secrets
+[ -f $KSHDIR/local ] && . $KSHDIR/local
[ -f $KSHDIR/kshenv ] && . $KSHDIR/kshenv
PS1='$(tput bold)\W \$$(tput sgr0) '
diff --git a/bin/volume b/bin/volume
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# adjust audio and update statusbar
+
+OUT=${AUDIOSINK:-"Speaker"}
+
+amixer -q set $OUT $@
+
+pkill -RTMIN+2 status