| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove and merge duplicate entries
The 'case' statement had two identical commands for opening files using
`zathura`. Removed the extra match patterns and merged into one.
* Fix file checks
* Fix indentation and use the same syntax style
All the indentation are fixed. All syntax styles have been set to match
the first occurrence.
* Slightly faster filename generation for thumbnails
Use `md5sum` instead of `sha256sum` since the hash
is only used as a cache identifier (no security/integrity requirement).
Remove the trailing “ -” that `md5sum` prints for stdin by trimming
everything after the first space using POSIX parameter expansion (${var%% *}),
avoiding extra processes like `cut` or `awk`.
|
| | |
|
| |
|
|
| |
script (#1420)
|
| | |
|
| |
|
|
|
|
|
|
|
| |
* Fix pdf and plain text previws in lf
Pdf previws don't appear because are generated with wrong filename.
Plain text previws with `bat` don't respect terminal theme and have
annoying border.
* Revert pdf cache filename to work properly
|
| |
|
| |
added support for previewing books in djvu format.
|
| | |
|
| |
|
| |
Co-authored-by: Victor Risgaard <victor@risgaard.xyz>
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
fallback to using mediainfo when ffmpegthumbnailer or pdftoppm is not available.
correct terminal width for bat.
use cut instead of awk for efficiency.
improve spacing/indentation for the sake of consistency in code.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|