From a96420e067969aad22a2502b83ddbc0540f9f06b Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 19 Aug 2016 10:39:12 +1000 Subject: [PATCH] Model: Add BSD support --- neofetch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/neofetch b/neofetch index dd560270..398a0735 100755 --- a/neofetch +++ b/neofetch @@ -84,6 +84,10 @@ getmodel() { esac ;; + "BSD") + model="$(sysctl -n hw.vendor hw.product 2>/dev/null)" + ;; + "Windows") model="$(wmic computersystem get manufacturer,model /value)" model="${model/Manufacturer'='}"