From ac46be44cf688d7384f045ae7ecf5eec9da60bd4 Mon Sep 17 00:00:00 2001 From: Dylan Date: Fri, 29 Apr 2016 14:50:16 +1000 Subject: [PATCH] Made gettitle more reliable --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index ecafa53b..66a428ab 100755 --- a/neofetch +++ b/neofetch @@ -538,7 +538,7 @@ getdistro () { # Title {{{ gettitle () { - title="${USER}@$(hostname)" + title="${USER:-$(whoami)}@${HOSTNAME:-$(hostname)}" } # }}}