]>
Commit | Line | Data |
---|---|---|
be7f3345 ZU |
1 | Configuration |
2 | zathurarc | |
3 | ||
4 | The other way is to use a zathurarc file (whose path is defined in the config.h | |
5 | file, default: ~/.config/zathura/zathurarc) to change look and key bindings. | |
6 | There are two commands that can be used in the rc file: | |
7 | set [id] [value] | |
8 | map [key] [function] [argument] [mode] | |
9 | As an example the rc file could look like this: | |
10 | # zathurarc | |
11 | ||
12 | # colors | |
13 | set statusbar_bgcolor #00FF00 | |
14 | set statusbar_fgcolor red | |
15 | ||
16 | # settings | |
17 | set height 1024 | |
18 | set width 768 | |
19 | set adjust_open width | |
20 | ||
21 | # key bindings | |
22 | map <PageUp> navigate previous | |
23 | map <PageDown> navigate next | |
24 | ||
25 | map + zoom in | |
26 | map - zoom out | |
27 | ||
28 | map <C-q> quit | |
29 |