Fix CPU output on NetBSD
This commit is contained in:
parent
3489526637
commit
f48f5e92ab
1 changed files with 4 additions and 0 deletions
4
neofetch
4
neofetch
|
@ -938,6 +938,10 @@ getwmtheme () {
|
||||||
# CPU {{{
|
# CPU {{{
|
||||||
|
|
||||||
getcpu () {
|
getcpu () {
|
||||||
|
case "$distro" in
|
||||||
|
"NetBSD"*) local os="Linux" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
case "$os" in
|
case "$os" in
|
||||||
"Linux" | "Windows")
|
"Linux" | "Windows")
|
||||||
# Get cpu name
|
# Get cpu name
|
||||||
|
|
Loading…
Reference in a new issue