wallpaper: Fixed GNOME support. Closes #1037

This commit is contained in:
Dylan Araps 2018-06-21 14:36:33 +10:00
parent 61ee751147
commit aae3271422

View file

@ -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")"