Use 32-bit and 64-bit for arch
This commit is contained in:
parent
e75a67f92b
commit
b07d18d6d0
1 changed files with 6 additions and 2 deletions
8
neofetch
8
neofetch
|
@ -513,8 +513,12 @@ ascii_distro="$distro"
|
||||||
|
|
||||||
getdistro () {
|
getdistro () {
|
||||||
# Get architecture
|
# Get architecture
|
||||||
[ "$os_arch" == "on" ] && \
|
[ "$os_arch" == "on" ]
|
||||||
distro+=" $(uname -m)"
|
case "$(getconf LONG_BIT)" in
|
||||||
|
64) distro+=" 64-bit" ;;
|
||||||
|
32) distro+=" 32-bit" ;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue