Merge pull request #311 from iandrewt/mac-model
added macOS support for model name
This commit is contained in:
commit
e82b1dd5c0
1 changed files with 2 additions and 0 deletions
2
neofetch
2
neofetch
|
@ -82,6 +82,8 @@ getmodel() {
|
|||
"ipod7,1") model="iPod touch 6G" ;;
|
||||
esac
|
||||
;;
|
||||
|
||||
"Mac OS X") model="$(sysctl -n hw.model)" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue