From a1f80c3a613692c9e727e8cef67d729e2f335e82 Mon Sep 17 00:00:00 2001 From: Erick Cafferata Date: Fri, 1 May 2020 14:25:05 -0500 Subject: [PATCH] distro: speed up guix lookup (#1452) --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index c386112e..37d82900 100755 --- a/neofetch +++ b/neofetch @@ -1031,7 +1031,7 @@ get_distro() { elif type -p guix >/dev/null; then case $distro_shorthand in on|tiny) distro="Guix System" ;; - *) distro="Guix System $(guix system -V | awk 'NR==1{printf $5}')" + *) distro="Guix System $(guix -V | awk 'NR==1{printf $4}')" esac # Display whether using '-current' or '-release' on OpenBSD.