Commit aae32714 authored by Dylan Araps's avatar Dylan Araps

wallpaper: Fixed GNOME support. Closes #1037

parent 61ee7511
...@@ -3491,6 +3491,11 @@ END ...@@ -3491,6 +3491,11 @@ END
image="$(decode_url "$image")" 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 if type -p feh >/dev/null && [[ -f "${HOME}/.fehbg" ]]; then
image="$(awk -F\' '/feh/ {printf $(NF-1)}' "${HOME}/.fehbg")" image="$(awk -F\' '/feh/ {printf $(NF-1)}' "${HOME}/.fehbg")"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment