Model: Add BSD support
This commit is contained in:
parent
3461b2a029
commit
a96420e067
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'='}"
|
||||||
|
|
Reference in New Issue