Format CPU output on BSD
This commit is contained in:
parent
e67d6609d1
commit
db2824a8e1
1 changed files with 2 additions and 0 deletions
2
neofetch
2
neofetch
|
@ -1103,6 +1103,8 @@ getcpu () {
|
||||||
|
|
||||||
# Get cpu cores
|
# Get cpu cores
|
||||||
cores=$(sysctl -n hw.ncpu)
|
cores=$(sysctl -n hw.ncpu)
|
||||||
|
|
||||||
|
cpu="$cpu @ ${speed}GHz"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue