From 090c4e4e5b1d0eeae4c37f1b858201f9a6084d2b Mon Sep 17 00:00:00 2001 From: Kid Date: Wed, 18 Dec 2019 19:57:07 +0800 Subject: [PATCH] fix format --- neofetch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)" ;; *)