Model: Add BSD support
This commit is contained in:
parent
3461b2a029
commit
a96420e067
1 changed files with 4 additions and 0 deletions
4
neofetch
4
neofetch
|
@ -84,6 +84,10 @@ getmodel() {
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"BSD")
|
||||||
|
model="$(sysctl -n hw.vendor hw.product 2>/dev/null)"
|
||||||
|
;;
|
||||||
|
|
||||||
"Windows")
|
"Windows")
|
||||||
model="$(wmic computersystem get manufacturer,model /value)"
|
model="$(wmic computersystem get manufacturer,model /value)"
|
||||||
model="${model/Manufacturer'='}"
|
model="${model/Manufacturer'='}"
|
||||||
|
|
Loading…
Reference in a new issue