Song: Add support for Elisa
This commit is contained in:
parent
8fa1abd0c2
commit
eea725b8aa
3
neofetch
3
neofetch
|
@ -1411,7 +1411,7 @@ get_song() {
|
||||||
player="$(ps x | awk '!(/ awk|Helper|Cache|ibus|indicator/) && /mpd|mopidy|cmus|mocp|spotify|\
|
player="$(ps x | awk '!(/ awk|Helper|Cache|ibus|indicator/) && /mpd|mopidy|cmus|mocp|spotify|\
|
||||||
Google Play|iTunes.app|rhythmbox|banshee|amarok|deadbeef|audacious|\
|
Google Play|iTunes.app|rhythmbox|banshee|amarok|deadbeef|audacious|\
|
||||||
xmms2d|gnome-music|lollypop|clementine|pragha|exaile|juk|bluemindo|\
|
xmms2d|gnome-music|lollypop|clementine|pragha|exaile|juk|bluemindo|\
|
||||||
guayadeque|yarock|qmmp|quodlibet|deepin-music|tomahawk|pogo/ {printf $5 " " $6; exit}')"
|
guayadeque|yarock|qmmp|quodlibet|deepin-music|tomahawk|pogo|elisa/ {printf $5 " " $6; exit}')"
|
||||||
|
|
||||||
get_song_dbus() {
|
get_song_dbus() {
|
||||||
# Multiple players use an almost identical dbus command to get the information.
|
# Multiple players use an almost identical dbus command to get the information.
|
||||||
|
@ -1442,6 +1442,7 @@ guayadeque|yarock|qmmp|quodlibet|deepin-music|tomahawk|pogo/ {printf $5 " " $6;
|
||||||
"yarock"*) get_song_dbus "yarock" ;;
|
"yarock"*) get_song_dbus "yarock" ;;
|
||||||
"deepin-music"*) get_song_dbus "deepinmusic" ;;
|
"deepin-music"*) get_song_dbus "deepinmusic" ;;
|
||||||
"tomahawk"*) get_song_dbus "tomahawk" ;;
|
"tomahawk"*) get_song_dbus "tomahawk" ;;
|
||||||
|
"elisa"*) get_song_dbus "elisa" ;;
|
||||||
|
|
||||||
"audacious"*)
|
"audacious"*)
|
||||||
song="$(audtool current-song)"
|
song="$(audtool current-song)"
|
||||||
|
|
Reference in New Issue