diff options
Diffstat (limited to 'ratpoison/mpdvolind')
-rwxr-xr-x | ratpoison/mpdvolind | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ratpoison/mpdvolind b/ratpoison/mpdvolind index 1f79362..c279af8 100755 --- a/ratpoison/mpdvolind +++ b/ratpoison/mpdvolind @@ -1,5 +1,5 @@ #!/bin/bash -volm=`mpc volume | perl -pe 's/^volume://' | perl -pe 's/%$//' | perl -pe 's/^ //'` +volm=`mpc -h 127.0.0.1 volume | perl -pe 's/^volume://' | perl -pe 's/%$//' | perl -pe 's/^ //'` if [[ "$volm" -eq "100" ]]; then let volm=99 |