pfetch: Add more model files
This commit is contained in:
parent
58f5e9b573
commit
f2217eed91
1 changed files with 2 additions and 0 deletions
2
pfetch
2
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue