image: Fix bug with getting wallpaper from feh.
This commit is contained in:
2
neofetch
2
neofetch
@@ -2492,7 +2492,7 @@ get_wallpaper() {
|
|||||||
|
|
||||||
*)
|
*)
|
||||||
if type -p feh >/dev/null && [[ -f "${HOME}/.fehbg" ]]; then
|
if type -p feh >/dev/null && [[ -f "${HOME}/.fehbg" ]]; then
|
||||||
image="$(< "${HOME}/.fehbg")"
|
image="$(awk '{print $NF}' "${HOME}/.fehbg")"
|
||||||
image="${image#*\'}"
|
image="${image#*\'}"
|
||||||
image="${image%\'*}"
|
image="${image%\'*}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user