Browse Source

Merge pull request #1372 from kidonng/plasma-wallpaper

Get wallpaper for Plasma desktop
dylan 5 năm trước cách đây
mục cha
commit
8ef15466fd
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      neofetch

+ 5 - 0
neofetch

@@ -3746,6 +3746,11 @@ END
                     image="$(decode_url "$image")"
                 ;;
 
+                "Plasma"*)
+                    image="${XDG_CONFIG_HOME}/plasmarc"
+                    image="$(awk -F '=' '$1 == "usersWallpapers" { print $2 }' "$image")"
+                ;;
+
                 *)
                     if type -p feh >/dev/null && [[ -f "${HOME}/.fehbg" ]]; then
                         image="$(awk -F\' '/feh/ {printf $(NF-1)}' "${HOME}/.fehbg")"