Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ ! -z "$1" ]; then
- while true; do
- osascript -e "set volume output volume $1"
- done
- else
- cat <<HERE
- put_volume <volume_amount>
- - <volume_amount> 0-100
- HERE
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement