From f8056231710bd49c119396227ed590f6eaf59132 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 14 Aug 2016 14:16:25 +1000 Subject: [PATCH] Add model to travis test mode --- neofetch | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/neofetch b/neofetch index 879031c2..50de9ae7 100755 --- a/neofetch +++ b/neofetch @@ -45,6 +45,7 @@ getmodel() { model="${model/To Be Filled*}" ;; + "Mac OS X") model="$(sysctl -n hw.model)" ;; "iPhone OS") case "${ios_model:-$(uname -m)}" in "iPad1,1") model="iPad" ;; @@ -82,8 +83,6 @@ getmodel() { "ipod7,1") model="iPod touch 6G" ;; esac ;; - - "Mac OS X") model="$(sysctl -n hw.model)" ;; esac } @@ -3018,7 +3017,7 @@ getargs() { esac ;; --test) - info=(title underline distro kernel uptime packages shell resolution de wm wmtheme theme icons cpu cpu_usage gpu memory font disk battery song localip publicip users birthday term termfont) + info=(title underline model distro kernel uptime packages shell resolution de wm wmtheme theme icons cpu cpu_usage gpu memory font disk battery song localip publicip users birthday term termfont) refresh_rate="on" shell_version="on"