Docs: add info about ~/.cache/ctpv dir

This commit is contained in:
Nikita Ivanov 2022-07-27 17:57:45 +05:00
parent 972efd368c
commit a649d23ff8
No known key found for this signature in database
GPG Key ID: 6E656AC5B97B5133

View File

@ -1,6 +1,6 @@
'\" t
.ds op \&.\|.\|.\&
.ds ue \(:Uberzug
.ds ub \(:Uberzug
.
.de Op
.RI [ "\\$1" "]\\$2"
@ -14,14 +14,11 @@
\&\fB\\$1\fP \fI\\$2\fP\\$3
..
.
.
.TH CTPV 1 "July 2022" Linux "User Manuals"
.
.
.SH NAME
ctpv \- terminal previewer
.
.
.SH SYNOPSIS
.
.SY ctpv
@ -47,7 +44,6 @@ ctpv \- terminal previewer
.I id
.YS
.
.
.SH DESCRIPTION
.
.B ctpv
@ -153,7 +149,7 @@ cmd on-quit $ctpv -e $id
.SS Image previews
.
Image previews are enabled by either installing
.I \*(ue
.I \*(ub
or
.I Chafa
(as seen in
@ -166,7 +162,7 @@ terminal.
When possible,
.B ctpv
will prefer
.I \*(ue
.I \*(ub
over others image preview methods. You can override this
behavior by using
.B forcekitty
@ -209,7 +205,6 @@ attempts to run another appropriate preview and so on.
If the script exists with 0 or a any other status, both standard output
and standard error are printed.
.
.
.SH OPTIONS
.
.TP
@ -238,7 +233,6 @@ command to server with ID
Kill server with ID
.IR id .
.
.
.SH CONFIGURATION
.
.B ctpv
@ -455,17 +449,28 @@ to use it for generating previews.
.
.TP
.I $XDG_CONFIG_HOME/ctpv/config
Configuration file. If
Configuration file.
If
.I $XDG_CONFIG_HOME
is not set, defaults to
.IR \(ti/.config .
.
.TP
.I $XDG_CACHE_HOME/ctpv
Directory to store cached image previews.
It takes some time to generate an image preview for some file types,
such as videos or PDF files, this is why the generated images are
stored in the directory to be shown if the same file is previewed
again.
If
.I $XDG_CACHE_HOME
is not set, defaults to
.IR \(ti/.cache .
.
.SH SEE ALSO
.
.BR lf (1)
.
.
.SH AUTHOR
.
Written by Nikita Ivanov.