mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-22 19:49:54 +00:00
wallpaper: Fixed GNOME support. Closes #1037
This commit is contained in:
5
neofetch
5
neofetch
@@ -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")"
|
||||||
|
|||||||
Reference in New Issue
Block a user