mirror of
https://github.com/dylanaraps/neofetch
synced 2025-12-30 00:05:08 -05:00
Merge pull request #1372 from kidonng/plasma-wallpaper
Get wallpaper for Plasma desktop
This commit is contained in:
commit
8ef15466fd
5
neofetch
5
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")"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user