From 4b4b0437d97194b38a073f03788e27f99b8e3aca Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 19 Aug 2016 11:15:13 +1000 Subject: [PATCH] Also include product name --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index dad9d742..685383f2 100755 --- a/neofetch +++ b/neofetch @@ -41,7 +41,7 @@ getos() { getmodel() { case "$os" in "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*}" ;;