From 06a3f809cc46c3383944e93c7540c4a164c562c2 Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Sat, 27 Aug 2016 15:42:56 +0700 Subject: [PATCH] Added support for GuixSD --- ascii/distro/guixsd | 12 ++++++++++++ neofetch | 5 ++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 ascii/distro/guixsd diff --git a/ascii/distro/guixsd b/ascii/distro/guixsd new file mode 100644 index 00000000..0cdf7470 --- /dev/null +++ b/ascii/distro/guixsd @@ -0,0 +1,12 @@ +"\ +${c1} .. \`. + \`--..\`\`\`..\` \`..\`\`\`..--\` + .-:///-:::. \`-:::///:-. + \`\`\`\`.:::\` \`:::.\`\`\`\` + -//:\` -::- + ://: -::- + \`///- .:::\` + -+++-:::. + :+/:::- + \`-....\` +" diff --git a/neofetch b/neofetch index 5220093e..96e85e53 100755 --- a/neofetch +++ b/neofetch @@ -350,6 +350,9 @@ getpackages() { type -p nix-env >/dev/null 2>&1 && \ packages="$((packages+=$(ls -d -1 /nix/store/*/ | wc -l)))" + type -p guix >/dev/null 2>&1 && \ + packages="$((packages+=$(ls -d -1 /gnu/store/*/ | wc -l)))" + type -p apk >/dev/null 2>&1 && \ packages="$((packages+=$(apk info | wc -l)))" @@ -2416,7 +2419,7 @@ colors() { setcolors 5 7 ;; - "OpenBSD"*) + "OpenBSD"* | "GuixSD"*) setcolors 3 7 6 1 8 ;;