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
1 changed files with 2 additions and 2 deletions

View File

@ -1522,7 +1522,7 @@ get_packages() {
has kiss && tot kiss l has kiss && tot kiss l
has cpt-list && tot cpt-list has cpt-list && tot cpt-list
has pacman-key && tot pacman -Qq --color never 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 rpm && tot rpm -qa
has xbps-query && tot xbps-query -l has xbps-query && tot xbps-query -l
has apk && tot apk info has apk && tot apk info
@ -2844,7 +2844,7 @@ get_song() {
string & "\n" & album of current track as¬ string & "\n" & album of current track as¬
string & "\n" & name of current track as string')" string & "\n" & name of current track as string')"
;; ;;
"music"*) "music"*)
song="$(osascript -e 'tell application "Music" to artist of current track as¬ song="$(osascript -e 'tell application "Music" to artist of current track as¬
string & "\n" & album of current track as¬ string & "\n" & album of current track as¬