actual scripts

This commit is contained in:
2015-06-15 01:58:20 +02:00
parent 7c4bc93b3c
commit 5b9d32f886
7 changed files with 406 additions and 0 deletions

9
set_volume Executable file
View File

@ -0,0 +1,9 @@
#!/bin/dash
if [ -z "$1" ] || [ -n "$(echo $1|sed 's/[0-9]//g')" ]; then
echo "Usage: $0 <volume 0-100>"
exit
fi
pacmd set-sink-volume 0 $(($1 * 65536/100)) >/dev/null
exit $?