Updated the README

Added the supported archive programs to the table and also added
instructions for people who are using older versions of lf, so that the
documentation is still accurate for them.
This commit is contained in:
hankertrix 2023-12-02 13:41:29 +08:00
parent 4ba42b0e8a
commit 161cdfcc8e

View File

@ -44,7 +44,7 @@ For example, you only need either `elinks`, `lynx` or
| File types | Programs |
| ---- | ---- |
| any | [exiftool][exiftool] cat |
| archive | [atool][atool] |
| archive | [atool][atool] [7z][7z] [bsdtar][bsdtar] |
| audio | [ffmpegthumbnailer][ffmpegthumbnailer] [ffmpeg][ffmpeg] |
| diff | [colordiff][colordiff] [delta][delta] [diff-so-fancy][diff-so-fancy] |
| directory | ls |
@ -84,6 +84,8 @@ For example, you only need either `elinks`, `lynx` or
[poppler]: https://poppler.freedesktop.org/
[jq]: https://github.com/jqlang/jq
[ffmpeg]: https://ffmpeg.org/
[7z]: https://www.7-zip.org/
[bsdtar]: https://github.com/libarchive/libarchive
<!--TABLEEND-->
@ -187,13 +189,19 @@ set cleaner ctpvclear
#### Wayland
If you use Wayland, follow these steps:
If you use Wayland and are using `lf` version r31, follow these steps:
* Make sure you use one of the [terminals that support sixel][sixel]
* Install [Chafa][chafa]
* Add `set chafasixel` to `~/.config/ctpv/config`
* Add `set sixel true` to `~/.config/lf/lfrc`
Otherwise, if you're using `lf` version r30 and below, follow these steps:
* Make sure you use one of the [terminals that support sixel][sixel]
* Install [this fork of lf][lf-sixel]
* Install [Chafa][chafa]
* Add `set chafasixel` to `~/.config/ctpv/config`
## Documentation
Full documentation on command line options,