If $img is an xml file fallback ro ascii mode

This commit is contained in:
Dylan 2016-02-09 21:30:41 +11:00
parent f1450d1fc8
commit e050ba6d1a

3
fetch
View file

@ -1490,6 +1490,9 @@ getwallpaper () {
esac
;;
esac
# If img is an xml file don't use it.
[ "${img/*\./}" == "xml" ] && img=""
}
# }}}