image: store thumbnail with path name
This commit is contained in:
parent
8aab756a15
commit
04420479dc
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -3702,7 +3702,7 @@ get_image_size() {
|
||||||
make_thumbnail() {
|
make_thumbnail() {
|
||||||
# Name the thumbnail using variables so we can
|
# Name the thumbnail using variables so we can
|
||||||
# use it later.
|
# use it later.
|
||||||
image_name="${crop_mode}-${crop_offset}-${width}-${height}-${image##*/}"
|
image_name="${crop_mode}-${crop_offset}-${width}-${height}-${image//\/}"
|
||||||
|
|
||||||
# Handle file extensions.
|
# Handle file extensions.
|
||||||
case "${image##*.}" in
|
case "${image##*.}" in
|
||||||
|
|
Loading…
Reference in a new issue