song: add support for sayonara
This commit is contained in:
parent
94bf52ecd4
commit
1480b833b0
1 changed files with 4 additions and 1 deletions
5
neofetch
5
neofetch
|
@ -435,6 +435,7 @@ disk_subtitle="mount"
|
||||||
# tomahawk
|
# tomahawk
|
||||||
# xmms2d
|
# xmms2d
|
||||||
# yarock
|
# yarock
|
||||||
|
# sayonara
|
||||||
music_player="auto"
|
music_player="auto"
|
||||||
|
|
||||||
# Format to display song information.
|
# Format to display song information.
|
||||||
|
@ -2389,7 +2390,8 @@ get_song() {
|
||||||
-e "spotify" \
|
-e "spotify" \
|
||||||
-e "tomahawk" \
|
-e "tomahawk" \
|
||||||
-e "xmms2d" \
|
-e "xmms2d" \
|
||||||
-e "yarock")"
|
-e "yarock" \
|
||||||
|
-e "sayonara")"
|
||||||
|
|
||||||
[[ "$music_player" && "$music_player" != "auto" ]] && \
|
[[ "$music_player" && "$music_player" != "auto" ]] && \
|
||||||
player="$music_player"
|
player="$music_player"
|
||||||
|
@ -2424,6 +2426,7 @@ get_song() {
|
||||||
"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" ;;
|
"elisa"*) get_song_dbus "elisa" ;;
|
||||||
|
"sayonara"*) get_song_dbus "sayonara" ;;
|
||||||
|
|
||||||
"audacious"*)
|
"audacious"*)
|
||||||
song="$(audtool current-song)"
|
song="$(audtool current-song)"
|
||||||
|
|
Loading…
Reference in a new issue