Commit 01882dca authored by Dylan Araps's avatar Dylan Araps

Wallpaper: Add support for Cinnamon

parent 67111826
......@@ -2037,8 +2037,9 @@ get_wallpaper() {
[[ -z "$de" ]] && get_de
case "$de" in
"MATE"*) image="$(gsettings get org.mate.background picture-filename)" ;;
*) image="$(gsettings get org.gnome.desktop.background picture-uri)" ;;
"Cinnamon"*) image="$(gsettings get org.cinnamon.desktop.background picture-uri)" ;;
"MATE"*) image="$(gsettings get org.mate.background picture-filename)" ;;
*) image="$(gsettings get org.gnome.desktop.background picture-uri)" ;;
esac
# Strip quotes etc from the path.
......
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