diff --git a/neofetch b/neofetch index 328cc1cd..4a625fe0 100755 --- a/neofetch +++ b/neofetch @@ -512,6 +512,7 @@ disk_percent="on" # guayadeque # io.elementary.music # iTunes +# Music # juk # lollypop # MellowPlayer @@ -2728,6 +2729,7 @@ get_song() { "guayadeque" "io.elementary.music" "iTunes" + "Music" "juk" "lollypop" "MellowPlayer" @@ -2842,6 +2844,12 @@ get_song() { string & "\n" & album of current track as¬ string & "\n" & name of current track as string')" ;; + + "music"*) + song="$(osascript -e 'tell application "Music" to artist of current track as¬ + string & "\n" & album of current track as¬ + string & "\n" & name of current track as string')" + ;; "banshee"*) song="$(banshee --query-artist --query-album --query-title |\