aboutsummaryrefslogtreecommitdiff
path: root/ratpoison/mpdvolind
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2014-11-30 11:45:58 +0100
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2014-11-30 11:45:58 +0100
commite772cc6eaa2333e030677567e30bf3de48956043 (patch)
tree44025bb794f582dffb47fe9fb377dfef98944e1d /ratpoison/mpdvolind
parentec459b6a652680e385019c872a096d412da834d4 (diff)
downloaddotfiles-e772cc6eaa2333e030677567e30bf3de48956043.tar.gz
dotfiles-e772cc6eaa2333e030677567e30bf3de48956043.tar.bz2
dotfiles-e772cc6eaa2333e030677567e30bf3de48956043.zip
mopidy localhost fixes
Diffstat (limited to 'ratpoison/mpdvolind')
-rwxr-xr-xratpoison/mpdvolind2
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