mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-22 19:49:54 +00:00
Wallpaper: Add support for Cinnamon
This commit is contained in:
5
neofetch
5
neofetch
@@ -2037,8 +2037,9 @@ get_wallpaper() {
|
|||||||
[[ -z "$de" ]] && get_de
|
[[ -z "$de" ]] && get_de
|
||||||
|
|
||||||
case "$de" in
|
case "$de" in
|
||||||
"MATE"*) image="$(gsettings get org.mate.background picture-filename)" ;;
|
"Cinnamon"*) image="$(gsettings get org.cinnamon.desktop.background picture-uri)" ;;
|
||||||
*) image="$(gsettings get org.gnome.desktop.background picture-uri)" ;;
|
"MATE"*) image="$(gsettings get org.mate.background picture-filename)" ;;
|
||||||
|
*) image="$(gsettings get org.gnome.desktop.background picture-uri)" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Strip quotes etc from the path.
|
# Strip quotes etc from the path.
|
||||||
|
|||||||
Reference in New Issue
Block a user