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

Imported Upstream version 0.0.8.3

parent 8fa192fd
......@@ -81,6 +81,6 @@ install: all
uninstall:
@echo removing executable file
@rm -f ${DESTDIR}${MANPREFIX}/bin/${PROJECT}
@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
VERSION = 0.0.8.2
VERSION = 0.0.8.3
# 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
DFLAGS = -g
......
......@@ -10,7 +10,7 @@ zathura \- a PDF viewer
.RB [password]
.SH DESCRIPTION
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.
.TP
.B -e xid
Reparents to window specified by xid.
.TP
.B -c path
Path to the config directory (defaults to .config/zathura)
.TP
.B -d path
Path to the data directory (defaults to .local/share/zathura)
.SH DEFAULT SETTINGS
......@@ -122,6 +124,15 @@ Toggle statusbar visibility
.B ^m
Toggle inputbar visibility
.TP
.B +
Zoom in
.TP
.B -
Zoom out
.TP
.B =
Zoom to the original size
.TP
.B Esc | ^c
Abort
.TP
......
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