aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2019-09-24 13:38:02 +0300
committerDylan Araps <dylan.araps@gmail.com>2019-09-24 13:38:02 +0300
commitf2217eed91ad8709c166d3682b103242ca7670c2 (patch)
tree1dca92f7f2a1e87cb34b728015843cc7b5144e64
parent58f5e9b5736129b9165839117a4d1a831b1acc06 (diff)
downloadpfetch-f2217eed91ad8709c166d3682b103242ca7670c2.tar.gz
pfetch: Add more model files
-rwxr-xr-xpfetch2
1 files changed, 2 insertions, 0 deletions
diff --git a/pfetch b/pfetch
index f250e12..c4a4097 100755
--- a/pfetch
+++ b/pfetch
@@ -121,7 +121,9 @@ get_kernel() {
get_host() {
case $os in
Linux*|GNU*)
+ read -r model < /sys/devices/virtual/dmi/id/product_name
read -r model < /sys/devices/virtual/dmi/id/product_version
+ read -r model < /sys/firmware/devicetree/base/model
;;
esac