wallpaper: Fixed GNOME support. Closes #1037
This commit is contained in:
parent
61ee751147
commit
aae3271422
1 changed files with 5 additions and 0 deletions
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")"
|
||||||
|
|
Loading…
Reference in a new issue