Fix: recursion in libreoffice prev

This commit is contained in:
Nikita Ivanov 2022-07-31 17:12:18 +05:00
parent 2a890bdeae
commit c83945d661
No known key found for this signature in database
GPG Key ID: 6E656AC5B97B5133

View File

@ -1,6 +1,6 @@
# office: libreoffice
libreoffice() {
lo() {
# File produced by libreoffice
jpg="$(printf '%s\n' "$f" | sed 's|^.*/||; s|\..*$||')"
@ -12,4 +12,4 @@ libreoffice() {
mv -- "$cache_d/$jpg.jpg" "$cache_f"
}
convert_and_show_image libreoffice
convert_and_show_image lo