From b763c31ad73acc297c4cf318e42fd3489c5e347b Mon Sep 17 00:00:00 2001 From: dylan araps Date: Tue, 10 Oct 2017 08:44:09 +1100 Subject: [PATCH] image: Fix bug with getting wallpaper from feh. --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 2fbd6898..06e36695 100755 --- a/neofetch +++ b/neofetch @@ -2492,7 +2492,7 @@ get_wallpaper() { *) if type -p feh >/dev/null && [[ -f "${HOME}/.fehbg" ]]; then - image="$(< "${HOME}/.fehbg")" + image="$(awk '{print $NF}' "${HOME}/.fehbg")" image="${image#*\'}" image="${image%\'*}"