changed with new gpmdp function
This commit is contained in:
4
neofetch
4
neofetch
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user