Commit b763c31a authored by dylan araps's avatar dylan araps

image: Fix bug with getting wallpaper from feh.

parent f9d881e9
...@@ -2492,7 +2492,7 @@ get_wallpaper() { ...@@ -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%\'*}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment