Browse Source

fix format

Kid 5 years ago
parent
commit
090c4e4e5b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      neofetch

+ 2 - 1
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)"
                 ;;
 
                 *)