From a8cf5600f8caf7ec2ca412f99d3ad8a808653d13 Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 5 Apr 2016 00:49:21 +1000 Subject: [PATCH] Use uname to get arch --- neofetch | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/neofetch b/neofetch index 14c19650..16f5a4a1 100755 --- a/neofetch +++ b/neofetch @@ -513,12 +513,8 @@ ascii_distro="$distro" getdistro () { # Get architecture - if [ "$os_arch" == "on" ]; then - case "$(getconf LONG_BIT)" in - 64) distro+=" 64-bit" ;; - 32) distro+=" 32-bit" ;; - esac - fi + [ "$os_arch" == "on" ] && \ + distro+=" $(uname -m)" }