From 716afbd93787a08cdae1a53c6bd898774f60ac8b Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 13 Nov 2016 19:25:29 +1100 Subject: [PATCH] Images: Misc changes --- neofetch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/neofetch b/neofetch index dc8b45b8..0a5bb024 100755 --- a/neofetch +++ b/neofetch @@ -1464,7 +1464,7 @@ get_term_font() { case "$term" in "urxvt" | "urxvtd" | "xterm") - term_font="$(grep -i -F "${term/d}*font" <<< "$(xrdb -query)")" + term_font="$(grep -i -F "${term/d}*font" < <(xrdb -query))" term_font="${term_font/*font:}" term_font="$(trim "$term_font")" @@ -1864,8 +1864,8 @@ get_image_program() { get_ascii() { if [[ ! -f "$ascii" || "$ascii" == "distro" ]]; then # Error message - [[ "$ascii" != "distro" ]] && \ - [[ ! -f "$ascii" ]] && err "Ascii: Ascii file not found, using distro ascii." + [[ "$ascii" != "distro" ]] && [[ ! -f "$ascii" ]] && \ + err "Ascii: Ascii file not found, using distro ascii." # Lowercase the distro name if (("$version" <= 3)); then @@ -1999,7 +1999,7 @@ get_wallpaper() { ;; esac - # If image is an xml file don't use it. + # If image is an xml file, don't use it. [[ "${image/*\./}" == "xml" ]] && image="" # Error msg