Commit 9537be0e authored by Andrew Titmuss's avatar Andrew Titmuss

changed with new gpmdp function

parent 808821e2
......@@ -1228,8 +1228,8 @@ getsong () {
;;
esac
elif ([ -n "$(ps aux | awk '!(/awk/ || /Helper/) && /Google Play Music Desktop Player/')" ] && [ -n "$(which gpmdp)" ]); then
song="$(gpmdp artist) - $(gpmdp title)"
elif [ -n "$(ps aux | awk '!(/awk/ || /Helper/) && /Google Play Music Desktop Player/')" ] && type -p gpmdp >/dev/null 2>&1; then
song="$(gpmdp current)"
state="$(gpmdp status)"
elif [ -n "$(ps aux | awk '!(/awk/ || /Helper/) && /iTunes/')" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment