wallpaper: Fix #1379

This commit is contained in:
Dylan Araps 2019-12-23 23:24:44 +00:00
parent a89c736496
commit d8a3ae5fed
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 34 additions and 33 deletions

View File

@ -3779,8 +3779,9 @@ END
;;
"Plasma"*)
image="${XDG_CONFIG_HOME}/plasmarc"
image="$(awk -F '=' '$1 == "usersWallpapers" { print $2 }' "$image")"
image=$XDG_CONFIG_HOME/plasma-org.kde.plasma.desktop-appletsrc
image=$(awk -F '=' '$1 == "Image" { print $2 }' "$image")
image=${image##file://}
;;
*)