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

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)