Model: Add BSD support
This commit is contained in:
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
Block a user