image viewer
This repository has been archived on 2026年05月09日 . You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
- C 99.7%
- Makefile 0.3%
| .gitignore | init | |
| config.mk | add shm support, silence some compiler errors and fix misc stuff | |
| Makefile | add shm support, silence some compiler errors and fix misc stuff | |
| README | todo stuff | |
| stb_image.h | init | |
| vu.c | set window title | |
| vu.h | clamp zoom at adequate values and check for max/min zoom | |
vu == vu is a simple image viewer with image queue and zoom support. it takes in a few arguments: - `-b`: toggles the statusbar off - `-f fname`: fontname to use for the statusbar - `-g geom`: geometry of the window, to be parsed with XParseGeometry(3) (default: 800x600) - `-o`: output the last image on exit, much like nsxiv vu was written as a personal replacement for nsxiv, due to it having a dependency on imlib which is notoriously heavy and hard to statically compile. dependencies ------------ - libX11 (and friends) - stb_image.h, included in repo todo ---- - thumbnails - slideshow mode - optimize scaling, it is quite sluggish scaling up near the max zoom factor - break up the code base a bit more