From aae3271422a1f741f1b598fd1c620974c0b9f9b3 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 21 Jun 2018 14:36:33 +1000 Subject: [PATCH] wallpaper: Fixed GNOME support. Closes #1037 --- neofetch | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/neofetch b/neofetch index c45db9c3..dea01847 100755 --- a/neofetch +++ b/neofetch @@ -3491,6 +3491,11 @@ END image="$(decode_url "$image")" ;; + "GNOME"*) + image="$(gsettings get org.gnome.desktop.background picture-uri)" + image="$(decode_url "$image")" + ;; + *) if type -p feh >/dev/null && [[ -f "${HOME}/.fehbg" ]]; then image="$(awk -F\' '/feh/ {printf $(NF-1)}' "${HOME}/.fehbg")"