iMAGE viewer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
explosion-mental 6632e9080a
loadimgs: remove unneeded vars
1 month ago
LICENSE update license 1 year ago
Makefile add man page 11 months ago
README.md `-r` flag is not recursive, but used to load directories 3 months ago
arg.h use 'official' arg.h of libsl suckless repository 11 months ago
cmd.c advance: cast to int, since size_t it's unsigned 3 months ago
config.h `-r` flag is not recursive, but used to load directories 3 months ago
config.mk "add `,leak` there as well" 3 months ago
drw.c original drw.c and drw.h 11 months ago
drw.h original drw.c and drw.h 11 months ago
image.c loadimgs: remove unneeded vars 1 month ago
mage.1 update man page, add little description 7 months ago
mage.c add dirty flag to redraw, but not in singleview 1 month ago
util.c 'working' statusbar. 1 year ago
util.h 'working' statusbar. 1 year ago

README.md

mage - image viewer

mage is a simple image viewer. It should be very straightforward how it works (thanks to Imlib2) and comes with useful configurable features.

Dependencies

  • libX11
  • libImlib2
  • fontconfig (status bar)

Installation

Edit config.mk to match your local setup (mage is installed into the /usr/local namespace by default).

Afterwards enter the following command to build and install mage (if necessary as root):

make clean install

Running mage

run

mage [file]

See the manpage for further options.

TODO

  • custom (thumbnail) mode that has different layouts (e.g. grid)
  • Top status bar
  • Merge everything into mage.c and order functions alphabetically
  • remove most of the function on cmd.c. They deserve a patch rather than to be in mainline