mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 17:09:21 +00:00
Also include product name
This commit is contained in:
2
neofetch
2
neofetch
@@ -41,7 +41,7 @@ getos() {
|
|||||||
getmodel() {
|
getmodel() {
|
||||||
case "$os" in
|
case "$os" in
|
||||||
"Linux")
|
"Linux")
|
||||||
model="$(< /sys/devices/virtual/dmi/id/product_version)"
|
model="$(< /sys/devices/virtual/dmi/id/product_{name,version} 2>/dev/null)"
|
||||||
model="${model/To Be Filled*}"
|
model="${model/To Be Filled*}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user