commit
0e6fe1b38a
8
neofetch
8
neofetch
|
@ -597,9 +597,9 @@ get_de() {
|
||||||
"KDE_SESSION_VERSION"*) de="KDE${de/* = }" ;;
|
"KDE_SESSION_VERSION"*) de="KDE${de/* = }" ;;
|
||||||
*"TDE_FULL_SESSION"*) de="Trinity" ;;
|
*"TDE_FULL_SESSION"*) de="Trinity" ;;
|
||||||
*"MUFFIN"* | "Cinnamon") de="$(cinnamon --version)"; de="${de:-Cinnamon}" ;;
|
*"MUFFIN"* | "Cinnamon") de="$(cinnamon --version)"; de="${de:-Cinnamon}" ;;
|
||||||
*"xfce4"*) de="XFCE4" ;;
|
*"xfce4"*) de="Xfce4" ;;
|
||||||
*"xfce5"*) de="XFCE5" ;;
|
*"xfce5"*) de="Xfce5" ;;
|
||||||
*"xfce"*) de="XFCE" ;;
|
*"xfce"*) de="Xfce" ;;
|
||||||
*"mate"*) de="MATE" ;;
|
*"mate"*) de="MATE" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -2087,7 +2087,7 @@ get_wallpaper() {
|
||||||
|
|
||||||
case "$de" in
|
case "$de" in
|
||||||
"MATE"*) image="$(gsettings get org.mate.background picture-filename)" ;;
|
"MATE"*) image="$(gsettings get org.mate.background picture-filename)" ;;
|
||||||
"XFCE"*) image="$(xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/workspace0/last-image)" ;;
|
"Xfce"*) image="$(xfconf-query -c xfce4-desktop -p /backdrop/screen0/monitor0/workspace0/last-image)" ;;
|
||||||
|
|
||||||
"Cinnamon"*)
|
"Cinnamon"*)
|
||||||
image="$(gsettings get org.cinnamon.desktop.background picture-uri)"
|
image="$(gsettings get org.cinnamon.desktop.background picture-uri)"
|
||||||
|
|
Reference in New Issue