dylanaraps / neofetch

🖼️ A command-line system information tool written in bash 3.2+
MIT License
21.88k stars 1.76k forks source link

Fall back to host name if model name is not found. #2273

Closed tfpf closed 1 year ago

tfpf commented 1 year ago

Description

On Debian GNU/Linux 11 (bullseye) on WSL, the device model is not shown, since none of the files get_model searches for are present. One might consider falling back to the host name in that case.

Features

Issues

TODO

hykilpikonna commented 1 year ago

But the hostname doesn't always contain model information though... Also, the hostname is already displayed beside the username, so I don't think it would make sense to repeat it in the model field

tfpf commented 1 year ago

Didn't think of that.:sweat_smile: I always thought it is the same as the device name.