Commit f7cf1073 authored by Dylan Araps's avatar Dylan Araps

wallpaper: Add support for pywal.

parent c80ace76
......@@ -2757,7 +2757,10 @@ END
;;
*)
if type -p feh >/dev/null && [[ -f "${HOME}/.fehbg" ]]; then
if [[ -f "${HOME}/.cache/wal/wal" ]]; then
image="$(< "${HOME}/.cache/wal/wal")"
elif type -p feh >/dev/null && [[ -f "${HOME}/.fehbg" ]]; then
image="$(awk -F\' '/feh/ {printf $(NF-1)}' "${HOME}/.fehbg")"
elif type -p nitrogen >/dev/null; then
......
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