Merge branch 'master' of github.com:Jab2870/dotfiles

master
Jonathan Hodgson 6 years ago
commit 15468b465a
  1. 2
      i3/blocks/mpvmediaplayer

@ -9,6 +9,6 @@ socket="${SOCKET:-/tmp/mpvsocket}"
#esac
echo '{ "command": ["get_property_string", "filtered-metadata"] }' | socat - /tmp/mpvsocket | jq '.data' | sed 's/"{\\"icy-title\\":\\"//g' | sed 's/\\"}"//g'
echo '{ "command": ["get_property_string", "filtered-metadata"] }' | socat - "${socket}" | jq '.data' | sed 's/"{\\"icy-title\\":\\"//g' | sed 's/\\"}"//g'
echo ""
echo "#00FF00"

Loading…
Cancel
Save