X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bin%2Fmplay;h=decfbfe8e22fa83a39d12f50821d116c571a4a92;hb=HEAD;hp=698586646d4b278079b0730d8142bb4313dc6e85;hpb=1d90dc5d971420778b3eb6999f0a3c8873653b9a;p=dotfiles.git diff --git a/bin/mplay b/bin/mplay index 6985866..decfbfe 100755 --- a/bin/mplay +++ b/bin/mplay @@ -1,6 +1,10 @@ #! /bin/sh -options="--ao pulse --quiet" +options="--ao=pulse --quiet" + +if [ -n "$AUDIO_VOLUME" ]; then + options="$options --af=loudnorm --volume=$AUDIO_VOLUME" +fi if [ "$DISPLAY" ]; then (xscreensaver-command -exit