niceties
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
# NetBSD 9.2 STABLE 2021-07
|
||||
|
||||
case "$1" in
|
||||
a*)
|
||||
audioctl -w play.gain=$2 >/dev/null
|
||||
exit $?
|
||||
;;
|
||||
|
||||
s*) # hacky
|
||||
audioctl -a \
|
||||
| grep "play\.gain" \
|
||||
| cut -d '=' -f 2
|
||||
exit $?
|
||||
;;
|
||||
esac
|
||||
exit 1
|
||||
Reference in New Issue
Block a user