diff --git a/neofetch b/neofetch index 142dae93..15f7277e 100755 --- a/neofetch +++ b/neofetch @@ -3742,7 +3742,8 @@ END ;; "Plasma"*) - image="$(cat ${HOME}/.config/plasma-org.kde.plasma.desktop-appletsrc | grep --fixed-strings --after-context 1 "[Wallpaper][org.kde.image][General]" | grep --extended-regexp --only-matching "file.+")" + image="${XDG_CONFIG_HOME}/plasma-org.kde.plasma.desktop-appletsrc" + image="$(awk -F '=' '$1 == "Image" { print $2 }' $image)" ;; *)