From dd8ee366b125ed4e2af654c99184c38618dd4f2c Mon Sep 17 00:00:00 2001 From: Mitch Weaver <20451170+MitchWeaver@users.noreply.github.com> Date: Sat, 18 Nov 2017 23:52:55 +0100 Subject: [PATCH] add neofetch --- neofetch | 3 +++ 1 file changed, 3 insertions(+) diff --git a/neofetch b/neofetch index 06e36695..1ca4506a 100755 --- a/neofetch +++ b/neofetch @@ -544,6 +544,9 @@ get_packages() { package_dir=(/var/db/paludis/repositories/{cross-installed,installed}/*/data/*) packages="$((packages+=$(ls -d -1 "${package_dir[@]}" | wc -l)))" fi + + type -p butch >/dev/null && \ + packages="$((packages+=$(butch list | wc -l)))" if type -p pkg >/dev/null; then case "$kernel_name" in