Commit 39ecf6b5 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Imported Upstream version

parent 8fa192fd
......@@ -81,6 +81,6 @@ install: all
@echo removing executable file
@rm -f ${DESTDIR}${PREFIX}/bin/${PROJECT}
@echo removing manual page
@rm -f ${DESTDIR}${MANPREFIX}/man1/${PROJECT}.1
......@@ -16,7 +16,7 @@ static const char FORMAT_DESCRIPTION[] = "<i>%s</i>";
/* Use XDG directory specification if no config and data directory are given on
* the command line. Uncomment the next line if you just want to use CONFIG_DIR
* and DATA_DIR instead (these will be the default locations if the XDG_*
* environment variebles are not set anyway) */
* environment variables are not set anyway) */
/* #define ZATHURA_NO_XDG */
/* directories and files */
......@@ -29,6 +29,7 @@ static const char DATA_DIR[] = "~/.local/share/zathura";
/* bookmarks */
static const char BM_PAGE_ENTRY[] = "page";
static const char BM_PAGE_OFFSET[] = "offset";
int save_position = 1;
/* look */
char* font = "monospace normal 9";
......@@ -248,6 +249,7 @@ Setting settings[] = {
{"recolor", &(Zathura.Global.recolor), 'b', TRUE, FALSE, "Invert the image" },
{"recolor_darkcolor", &(recolor_darkcolor), 's', FALSE, TRUE, "Recoloring (dark color)"},
{"recolor_lightcolor", &(recolor_lightcolor), 's', FALSE, TRUE, "Recoloring (light color)"},
{"save_position", &(save_position), 'b', FALSE, FALSE, "Save position in file on quit and restore it on open"},
{"scroll_step", &(scroll_step), 'f', FALSE, FALSE, "Scroll step"},
{"scroll_wrap", &(scroll_wrap), 'b', FALSE, FALSE, "Wrap scolling at last page"},
{"scrollbars", &(show_scrollbars), 'b', FALSE, TRUE, "Show scrollbars"},
# See LICENSE file for license and copyright information
# zathura make config
# paths
PREFIX ?= /usr
......@@ -15,7 +15,7 @@ INCS = -I. -I/usr/include ${GTK_INC}
LIBS = -lc ${GTK_LIB} -lpthread -lm
# compiler flags
CFLAGS += -std=c99 -pedantic -Wall -Wno-format-zero-length $(INCS)
CFLAGS += -std=c99 -pedantic -Wall $(INCS)
# debug flags
......@@ -10,7 +10,7 @@ zathura \- a PDF viewer
.RB [password]
zathura is a highly customizable and functional PDF viewer based on the poppler
rendering library and the gtk+ toolkit. zathura provides a minimalistic and
rendering library and the GTK+ toolkit. zathura provides a minimalistic and
space saving interface, with a focus on keyboard interaction.
If instead of a filename - is specified on the command line, zathura tries to
......@@ -19,8 +19,10 @@ render a PDF file piped to zathura via stdin.
.B -e xid
Reparents to window specified by xid.
.B -c path
Path to the config directory (defaults to .config/zathura)
.B -d path
Path to the data directory (defaults to .local/share/zathura)
......@@ -122,6 +124,15 @@ Toggle statusbar visibility
.B ^m
Toggle inputbar visibility
.B +
Zoom in
.B -
Zoom out
.B =
Zoom to the original size
.B Esc | ^c
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment