From e1de9ec0b7bf03bd3f046ed89be9230178be78b4 Mon Sep 17 00:00:00 2001 From: Matthew Treadwell Date: Wed, 16 Mar 2016 16:38:36 -0700 Subject: [PATCH] fixed wallpaper error that occurs when using more than one monitor/wallpaper with nitrogen --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index c4c67d34..cd09e786 100755 --- a/neofetch +++ b/neofetch @@ -1796,7 +1796,7 @@ getwallpaper () { img="$(awk -F\' '/feh/ {printf $2}' "$HOME/.fehbg")" elif type -p nitrogen >/dev/null 2>&1; then - img="$(awk -F'=' '/file/ {printf $2}' "$HOME/.config/nitrogen/bg-saved.cfg")" + img="$(awk -F'=' '/file/ {printf $2;exit;}' "$HOME/.config/nitrogen/bg-saved.cfg")" elif type -p gsettings >/dev/null 2>&1; then case "$XDG_CURRENT_DESKTOP" in