aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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