Skip to content

Commit

Permalink
resolve bg symlink to absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
mrt0rtikize authored and Guillaume BOEHM committed May 14, 2023
1 parent 47e1a18 commit 9fb78ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wal-telegram
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ prepare() {
fi # if .fehbg exists
fi # elif mode == palette
else # if bg == wal
bg="$(readlink -f "$bg")"
bg_ext="${bg##*.}"
cp "$bg" "${pre}/background.${bg_ext}"
fi # if bg == wal
Expand Down

0 comments on commit 9fb78ae

Please sign in to comment.