mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 17:09:21 +00:00
Song: Add support for Guayadeque
This commit is contained in:
3
neofetch
3
neofetch
@@ -1191,7 +1191,7 @@ get_memory() {
|
|||||||
|
|
||||||
get_song() {
|
get_song() {
|
||||||
# This is absurdly long.
|
# This is absurdly long.
|
||||||
player="$(ps x | awk '!(/awk|Helper|Cache/) && /mpd|cmus|mocp|spotify|Google Play|iTunes.app|rhythmbox|banshee|amarok|deadbeef|audacious|xmms2d|gnome-music|lollypop|clementine|pragha|exaile|juk|bluemindo/ {printf $5 " " $6; exit}')"
|
player="$(ps x | awk '!(/awk|Helper|Cache/) && /mpd|cmus|mocp|spotify|Google Play|iTunes.app|rhythmbox|banshee|amarok|deadbeef|audacious|xmms2d|gnome-music|lollypop|clementine|pragha|exaile|juk|bluemindo|guayadeque/ {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.
|
||||||
@@ -1218,6 +1218,7 @@ get_song() {
|
|||||||
"clementine"*) get_song_dbus "clementine" ;;
|
"clementine"*) get_song_dbus "clementine" ;;
|
||||||
"juk"*) get_song_dbus "juk" ;;
|
"juk"*) get_song_dbus "juk" ;;
|
||||||
"bluemindo"*) get_song_dbus "Bluemindo" ;;
|
"bluemindo"*) get_song_dbus "Bluemindo" ;;
|
||||||
|
"guayadeque"*) get_song_dbus "guayadeque" ;;
|
||||||
|
|
||||||
"cmus"*)
|
"cmus"*)
|
||||||
artist="$(cmus-remote -Q | grep -F "tag artist ")"
|
artist="$(cmus-remote -Q | grep -F "tag artist ")"
|
||||||
|
Reference in New Issue
Block a user