nsxiv5c2c719
Clean up readme (#330)
+42 −32
1 file changed
- M README.md +42 −32
| @@ -8,38 +8,41 @@ | |||
| 8 | 8 | **Neo (or New or Not) Simple (or Small or Suckless) X Image Viewer** | |
| 9 | 9 | -------------------------------------------------------------------- | |
| 10 | 10 | ||
| 11 | − | nsxiv is a fork of now unmaintained [sxiv](https://github.com/muennich/sxiv) | |
| 12 | − | with the purpose of being a drop-in replacement of sxiv, maintaining it and | |
| 13 | − | adding simple, sensible features. nsxiv is free software licensed under GPLv2 | |
| 14 | − | and aims to be easy to modify and customize. | |
| 11 | + | nsxiv is a fork of the now-unmaintained [sxiv](https://github.com/muennich/sxiv) | |
| 12 | + | with the purpose of being a (mostly) drop-in replacement for sxiv, maintaining its | |
| 13 | + | interface and adding simple, sensible features. nsxiv is free software licensed | |
| 14 | + | under GPLv2 and aims to be easy to modify and customize. | |
| 15 | 15 | ||
| 16 | − | Please file a bug report if something does not work as documented or | |
| 17 | − | expected in *this* repository, after making sure you are using the latest | |
| 18 | − | release of nsxiv. Contributions are welcome, see | |
| 19 | − | [CONTRIBUTING.md](CONTRIBUTING.md#contribution-guideline) for details. | |
| 16 | + | Please file a bug report if something does not work as documented or expected on | |
| 17 | + | [Codeberg] after making sure you are using the latest release. Contributions | |
| 18 | + | are welcome, see [CONTRIBUTING.md] to get started. | |
| 19 | + | ||
| 20 | + | [Codeberg]: https://codeberg.org/nsxiv/nsxiv/issues/new | |
| 21 | + | [CONTRIBUTING.md]: CONTRIBUTING.md#contribution-guideline | |
| 20 | 22 | ||
| 21 | 23 | ||
| 22 | 24 | Features | |
| 23 | 25 | -------- | |
| 24 | 26 | ||
| 25 | − | * Basic image operations, e.g. zooming, panning, rotating | |
| 26 | − | * Customizable key and mouse button mappings (in *config.h*) | |
| 27 | − | * Script-ability via `key-handler` | |
| 27 | + | * Basic image operations like zooming, panning, rotating | |
| 28 | + | * Basic support for animated/multi-frame images | |
| 28 | 29 | * Thumbnail mode: grid of selectable previews of all images | |
| 29 | 30 | * Ability to cache thumbnails for fast re-loading | |
| 30 | − | * Basic support for animated/multi-frame images (GIF/WebP) | |
| 31 | − | * Display image information in status bar | |
| 32 | − | * Customizable window title | |
| 31 | + | * Automatically refreshing modified images | |
| 32 | + | * Customizable keyboard and mouse mappings via `config.h` | |
| 33 | + | * Scriptability via `key-handler` | |
| 34 | + | * Displaying image information in status bar via `image-info` & `thumb-info` | |
| 35 | + | * Customizable window title via `win-title` | |
| 33 | 36 | ||
| 34 | 37 | ||
| 35 | 38 | Screenshots | |
| 36 | 39 | ----------- | |
| 37 | 40 | ||
| 38 | − | **Image mode: (Default colors)** | |
| 41 | + | **Image mode with default colors:** | |
| 39 | 42 | ||
| 40 | 43 |  | |
| 41 | 44 | ||
| 42 | − | **Thumbnail mode: (Custom colors)** | |
| 45 | + | **Thumbnail mode with custom colors:** | |
| 43 | 46 | ||
| 44 | 47 |  | |
| 45 | 48 | ||
| @@ -70,22 +73,29 @@ nsxiv requires the following software to be installed: | |||
| 70 | 73 | ||
| 71 | 74 | The following dependencies are optional. | |
| 72 | 75 | ||
| 73 | − | * inotify : Used for auto-reloading images on change. | |
| 74 | − | Disabled via `HAVE_INOTIFY=0` | |
| 75 | − | * libXft, freetype2, fontconfig : Used for the status bar. | |
| 76 | − | Disabled via `HAVE_LIBFONTS=0` | |
| 77 | − | * giflib : Used for animated gif playback. | |
| 76 | + | * `inotify`<sup>ℹ</sup>: Used for auto-reloading images on change. | |
| 77 | + | Disabled via `HAVE_INOTIFY=0`. | |
| 78 | + | * `libXft`, `freetype2`, `fontconfig`: Used for the status bar. | |
| 79 | + | Disabled via `HAVE_LIBFONTS=0`. | |
| 80 | + | * `giflib`: Used for animated gif playback. | |
| 78 | 81 | Disabled via `HAVE_LIBGIF=0`. | |
| 79 | − | * libexif : Used for auto-orientation and exif thumbnails. | |
| 80 | − | Disable via `HAVE_LIBEXIF=0` | |
| 81 | − | * libwebp : Used for animated webp playback. | |
| 82 | − | (NOTE: animated webp also requires Imlib2 v1.7.5 or above) | |
| 82 | + | * `libexif`: Used for auto-orientation and exif thumbnails. | |
| 83 | + | Disable via `HAVE_LIBEXIF=0`. | |
| 84 | + | * `libwebp`: Used for animated webp playback. | |
| 85 | + | (***NOTE***: animated webp also requires Imlib2 v1.7.5 or above) | |
| 83 | 86 | Disabled via `HAVE_LIBWEBP=0`. | |
| 84 | 87 | ||
| 85 | 88 | Please make sure to install the corresponding development packages in case that | |
| 86 | 89 | you want to build nsxiv on a distribution with separate runtime and development | |
| 87 | 90 | packages (e.g. \*-dev on Debian). | |
| 88 | 91 | ||
| 92 | + | \[ℹ]: [inotify][] is a Linux-specific API for monitoring filesystem changes. | |
| 93 | + | It's not natively available on `*BSD` systems but can be enabed via installing | |
| 94 | + | and linking against [libinotify-kqueue][]. | |
| 95 | + | ||
| 96 | + | [inotify]: https://www.man7.org/linux/man-pages/man7/inotify.7.html | |
| 97 | + | [libinotify-kqueue]: https://github.com/libinotify-kqueue/libinotify-kqueue | |
| 98 | + | ||
| 89 | 99 | ||
| 90 | 100 | Building | |
| 91 | 101 | -------- | |
| @@ -144,14 +154,13 @@ the following command: | |||
| 144 | 154 | Usage | |
| 145 | 155 | ----- | |
| 146 | 156 | ||
| 147 | − | Please see man page for information on how to use nsxiv. To do so, execute the | |
| 148 | − | following after the installation: | |
| 157 | + | Refer to the man page for the documentation: | |
| 149 | 158 | ||
| 150 | 159 | $ man nsxiv | |
| 151 | 160 | ||
| 152 | 161 | ||
| 153 | − | F.A.Q | |
| 154 | − | ----- | |
| 162 | + | F.A.Q. | |
| 163 | + | ------ | |
| 155 | 164 | ||
| 156 | 165 | * Can I open remote urls with nsxiv? <br> | |
| 157 | 166 | Yes, see [nsxiv-url](https://codeberg.org/nsxiv/nsxiv-extra/src/branch/master/scripts/nsxiv-url) | |
| @@ -199,6 +208,7 @@ on CodeBerg or get a copy using git with the following command: | |||
| 199 | 208 | ||
| 200 | 209 | You can view the changelog [here](CHANGELOG.md) | |
| 201 | 210 | ||
| 211 | + | ||
| 202 | 212 | Similar projects | |
| 203 | 213 | ---------------- | |
| 204 | 214 | ||
| @@ -208,10 +218,10 @@ viewers to try out. | |||
| 208 | 218 | ||
| 209 | 219 | Below are a couple other lesser known projects not listed in suckless rocks. | |
| 210 | 220 | ||
| 211 | − | * [MAGE](https://github.com/explosion-mental/mage) : | |
| 221 | + | * [MAGE](https://github.com/explosion-mental/mage): | |
| 212 | 222 | A smaller/more-suckless version of sxiv. | |
| 213 | − | * [div](https://github.com/TAAPArthur/div) : | |
| 223 | + | * [div](https://github.com/TAAPArthur/div): | |
| 214 | 224 | Minimal and extensive, aimed at C devs willing to build their own features. | |
| 215 | − | * [mpv-image-viewer](https://github.com/occivink/mpv-image-viewer) : | |
| 225 | + | * [mpv-image-viewer](https://github.com/occivink/mpv-image-viewer): | |
| 216 | 226 | Lua script to turn mpv into an image viewer. Supports thumbnails via | |
| 217 | 227 | [mpv-gallery-view](https://github.com/occivink/mpv-gallery-view). | |