neofetch: Appimage support. Closes #1403

This commit is contained in:
Dylan Araps 2020-02-05 00:15:22 +02:00
parent 9d23eaeaf9
commit ab7c6cac7d
No known key found for this signature in database
GPG key ID: 46D62DD9F1DE636E

View file

@ -1502,6 +1502,10 @@ get_packages() {
# Snap hangs if the command is run without the daemon running. # Snap hangs if the command is run without the daemon running.
# Only run snap if the daemon is also running. # Only run snap if the daemon is also running.
has snap && ps -e | grep -qFm 1 snapd >/dev/null && tot snap list && ((packages-=1)) has snap && ps -e | grep -qFm 1 snapd >/dev/null && tot snap list && ((packages-=1))
# This is the only standard location for appimages.
# See: https://github.com/AppImage/AppImageKit/wiki
manager=appimage && has appimaged && dir ~/.local/bin/*.appimage
;; ;;
"Mac OS X"|MINIX) "Mac OS X"|MINIX)