packages: zathura/config.txt (NEW) - initial (taken from webpage)

uzsolt uzsolt at pld-linux.org
Fri Apr 8 14:20:20 CEST 2011


Author: uzsolt                       Date: Fri Apr  8 12:20:20 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial (taken from webpage)

---- Files affected:
packages/zathura:
   config.txt (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/zathura/config.txt
diff -u /dev/null packages/zathura/config.txt:1.1
--- /dev/null	Fri Apr  8 14:20:20 2011
+++ packages/zathura/config.txt	Fri Apr  8 14:20:15 2011
@@ -0,0 +1,29 @@
+Configuration
+zathurarc
+
+The other way is to use a zathurarc file (whose path is defined in the config.h 
+file, default: ~/.config/zathura/zathurarc) to change look and key bindings. 
+There are two commands that can be used in the rc file:
+set [id] [value]
+map [key] [function] [argument] [mode]
+As an example the rc file could look like this:
+# zathurarc
+ 
+# colors
+set statusbar_bgcolor #00FF00
+set statusbar_fgcolor red
+ 
+# settings
+set height 1024
+set width 768
+set adjust_open width
+ 
+# key bindings
+map <PageUp> navigate previous
+map <PageDown> navigate next
+ 
+map + zoom in
+map - zoom out
+ 
+map <C-q> quit
+
================================================================


More information about the pld-cvs-commit mailing list