Krolyxon
Commit 3c65f47

Branches

Refs →

nsxivREADME.md

41 lines · 1.4 KB · Markdown

1sxiv: Simple (or small or suckless) X Image Viewer
2
3sxiv is a really simple alternative to feh and qiv. Its only dependency is
4imlib2. The primary goal for writing sxiv is to create an image viewer, which
5only implements the most basic features required for fast image viewing. Its
6code base should be kept small and clean to make it easy for you to dig into it
7and customize it for your needs.
8
9Installation
10------------
11sxiv is built using the commands:
12
13 $ make
14 # make install
15
16Please note, that the latter one requires root privileges.
17By default, sxiv is installed using the prefix "/usr/local", so the full path
18of the executable will be "/usr/local/sbin/sxiv".
19
20You can install it into a directory of your choice by changing the second
21command to:
22
23 # PREFIX="/your/dir" make install
24
25All build-time specific settings can be found in the file "config.h". Please
26check and change them, so that they fit your needs.
27
28Usage
29-----
30sxiv has no useful command line options yet, but they will be added in the next
31releases. Right now, it simply displays all files given on the command line.
32
33Use the following keys to control sxiv:
34
35 q Quit sxiv
36 Escape Quit sxiv and return an exit value of 2 (useful for scripting)
37 Space,n Go to the next image
38 Backspace,p Go to the previous image
39 +,= Zoom in
40 - Zoom out
41 h,j,k,l Scroll left/down/up/right