diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2019-09-24 13:40:48 +0300 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2019-09-24 13:40:48 +0300 |
| commit | ea8f373d04327865015c76d44babfca2836fb8ae (patch) | |
| tree | 1712e6443509bdb6388896a3a1308913daede94a | |
| parent | 4e3cef31252c46309727d355283dec1ffda35bf5 (diff) | |
| download | pfetch-ea8f373d04327865015c76d44babfca2836fb8ae.tar.gz | |
docs: update
| -rwxr-xr-x | pfetch | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -121,6 +121,10 @@ get_kernel() { get_host() { case $os in Linux*|GNU*) + # This works by using the *last* valid file containing + # hardware/host information. Despite what these files are + # called, version doesn't always contain the version nor + # does name always contain the name. read -r host < /sys/devices/virtual/dmi/id/product_name read -r host < /sys/devices/virtual/dmi/id/product_version read -r host < /sys/firmware/devicetree/base/model |
