diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2014-11-30 11:45:58 +0100 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2014-11-30 11:45:58 +0100 |
commit | e772cc6eaa2333e030677567e30bf3de48956043 (patch) | |
tree | 44025bb794f582dffb47fe9fb377dfef98944e1d /ratpoison/mpdvolind | |
parent | ec459b6a652680e385019c872a096d412da834d4 (diff) | |
download | dotfiles-e772cc6eaa2333e030677567e30bf3de48956043.tar.gz dotfiles-e772cc6eaa2333e030677567e30bf3de48956043.tar.bz2 dotfiles-e772cc6eaa2333e030677567e30bf3de48956043.zip |
mopidy localhost fixes
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 |