Model: Added Windows support
This commit is contained in:
parent
f805623171
commit
3461b2a029
1 changed files with 6 additions and 0 deletions
6
neofetch
6
neofetch
|
@ -83,6 +83,12 @@ getmodel() {
|
||||||
"ipod7,1") model="iPod touch 6G" ;;
|
"ipod7,1") model="iPod touch 6G" ;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"Windows")
|
||||||
|
model="$(wmic computersystem get manufacturer,model /value)"
|
||||||
|
model="${model/Manufacturer'='}"
|
||||||
|
model="${model/Model'='}"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue