Wallpaper: Add support for Cinnamon

This commit is contained in:
Dylan Araps 2016-12-02 09:23:08 +11:00
parent 6711182627
commit 01882dca04
1 changed files with 3 additions and 2 deletions

View File

@ -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.