neofetch: swap to apt for packages. Possible fix for #1616

This commit is contained in:
Dylan Araps 2020-11-25 14:09:31 +02:00
parent 2b559cb8c6
commit 80174ea4d9
No known key found for this signature in database
GPG key ID: 46D62DD9F1DE636E

View file

@ -1522,7 +1522,7 @@ get_packages() {
has kiss && tot kiss l
has cpt-list && tot cpt-list
has pacman-key && tot pacman -Qq --color never
has dpkg && tot dpkg-query -f '.\n' -W
has apt && tot apt list
has rpm && tot rpm -qa
has xbps-query && tot xbps-query -l
has apk && tot apk info
@ -2844,7 +2844,7 @@ 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¬