zathura/doc/configuration/options.rst

181 lines
3.6 KiB
ReStructuredText
Raw Normal View History

2014-04-08 22:05:13 +02:00
Configuration options
=====================
General settings
----------------
.. describe:: abort-clear-search
Defines if the search results should be cleared on abort.
:type: Boolean
:default: True
.. describe:: adjust-open
Defines which auto adjustment mode should be used if a document is
loaded. Possible options are "best-fit" and "width".
:type: String
:default: best-fit
2014-04-08 22:05:13 +02:00
.. describe:: advance-ds-per-row
Defines if the number of pages per row should be honored when advancing
a page.
:type: Boolean
:default: true
2014-04-08 22:05:13 +02:00
.. describe:: database
Defines the used database backend. Possible options are 'plain' and
'sqlite'
:type: String
:default: plain
2014-04-08 22:05:13 +02:00
.. describe:: highlight-color
Defines the color that is used for highlighting parts of the document
(e.g.: show search results)
:type: String
:default: #9FBC00
2014-04-08 22:05:13 +02:00
2021-02-09 21:57:44 +01:00
.. describe:: highlight-fg
Defines the color that is for text when highlighting parts of the document
(e.g.: numbers for links)
:type: String
:default: #FFFFFF
2014-04-08 22:05:13 +02:00
.. describe:: highlight-active-color
Defines the color that is used to show the current selected highlighted
element (e.g: current search result)
:type: String
:default: #00BC00
2014-04-08 22:05:13 +02:00
.. describe:: highlight-transparency
Defines the opacity of a highlighted element
:type: Float
:default: 0.5
2014-04-08 22:05:13 +02:00
.. describe:: page-padding
The page padding defines the gap in pixels between each rendered page.
:type: Integer
:default: 1
2014-04-08 22:05:13 +02:00
.. describe:: page-store-threshold
Pages that are not visible get unloaded after some time. Every page that
has not been visible for page-store-treshold seconds will be unloaded.
:type: Integer
:default: 30
2014-04-08 22:05:13 +02:00
.. describe:: page-store-interval
Defines the amount of seconds between the check to unload invisible
pages.
:type: Integer
:default: 30
2014-04-08 22:05:13 +02:00
.. describe:: pages-per-row
Defines the number of pages that are rendered next to each other in a
row.
:type: Integer
:default: 1
2014-04-08 22:05:13 +02:00
.. describe:: recolor
En/Disables recoloring
:type: Boolean
:default: false
2014-04-08 22:05:13 +02:00
.. describe:: recolor-darkcolor
Defines the color value that is used to represent dark colors in
recoloring mode
:type: String
:default: #FFFFFF
2014-04-08 22:05:13 +02:00
.. describe:: recolor-lightcolor
Defines the color value that is used to represent light colors in
recoloring mode
:type: String
:default: #000000
2014-04-08 22:05:13 +02:00
.. describe:: render-loading
Defines if the "Loading..." text should be displayed if a page is
rendered.
:type: Boolean
:default: true
2014-04-08 22:05:13 +02:00
.. describe:: scroll-step
Defines the step size of scrolling by calling the scroll command once
:type: Float
:default: 40
2014-04-08 22:05:13 +02:00
.. describe:: scroll-wrap
Defines if the last/first page should be wrapped
:type: Boolean
:default: false
2014-04-08 22:05:13 +02:00
2023-09-07 18:32:46 +02:00
.. describe:: smooth-reload
Defines if flickering will be removed when a file is reloaded on change.
This option might increase memory usage.
:type: Boolean
:default: true
2014-04-08 22:05:13 +02:00
.. describe:: zoom-max
Defines the maximum percentage that the zoom level can be
:type: Integer
:default: 1000
2014-04-08 22:05:13 +02:00
.. describe:: zoom-min
Defines the minimum percentage that the zoom level can be
:type: Integer
:default: 10
2014-04-08 22:05:13 +02:00
.. describe:: zoom-step
Defines the amount of percent that is zoomed in or out on each comand.
:type: Integer
:default: 10
2014-04-08 22:05:13 +02:00
Girara settings
---------------
Most of the options affecting the appearance of zathura are derived from
the options that are offered by our user interface library called girara
and can be found in its `documentation </projects/girara/options>`_.
Those values can also be set via the *zathurarc* file.