Commit graph

71 commits

Author SHA1 Message Date
tmpod c65fb124b2 Replace old GitHub links for sourcehut ones 2023-01-18 21:52:07 +00:00
aeghn 9ce7c5de6d Add '-w' option to specify window title at startup 2021-12-08 21:12:20 +00:00
Brett Cornwall 1bb925e1d5 doc: simpliy → simplify 2021-11-30 18:10:12 +00:00
Brett Cornwall da0e6bc212 doc: Fix awkward run-on sentence in overlay_text 2021-11-30 18:10:12 +00:00
Maxim Karasev f58e81288b Rename imv-folder to imv-dir
There is no such thing as 'folder' in Unix. We only have directories
(also sometimes called 'catalogs').
2021-09-29 21:17:05 +00:00
somini ebef68aece Add a contrib-commands option
This includes the commands available in contrib/. It's enabled by
default.

I moved the manpage and desktop file to their regular locations to avoid
complicating the meson file too much. They won't be installed when you
disable the contrib commands.
2021-07-08 23:30:24 +01:00
somini 9557a4b112 Move imv-folder files to contrib
See #261
2021-07-08 23:30:24 +01:00
somini 38eee61beb Include support for imv-folder
This is a wrapper to open all images in a folder.

Includes:
- Script itself
- Man page
- Desktop file
- Necessary Makefile changes

Fix #223
2021-07-08 23:30:24 +01:00
Harry Jeffery 49ba898e92 Fix first/last image indexing bug
Fixes #301
2020-12-17 20:18:09 +00:00
Mark Stosberg df51acbf15 Add default keybinding for image rotation
This is the same key binding used by Eye of Gnome for a 90 degree clockwise image rotation for people coming from that image viewer.
2020-12-03 01:19:58 +00:00
Harry Jeffery ac331f12fa Document 'crop' scaling mode 2020-11-16 22:08:21 +00:00
Harry Jeffery e18b7bca0b Add missing documentation for overlay_position_bottom 2020-08-31 13:58:01 +01:00
Andreas Stallinger df0d1cf7c2 colored overlay: config options in man, split rgba
split color_rgba into color_rgb and alpha
added configuration options to man pages

cleanup gitignore: the man pages output is now in the build directory,
so there is no to ignore man pages individually
2020-08-31 13:53:03 +01:00
Anton Älgmyr a71709b889 Unify rotation commands, reset transformation properly 2020-06-12 01:00:10 +01:00
Anton Älgmyr f968eb420c Add rotation and flipping commands.
Rotation can be done by any amount (not limited to multiples of 90).
Commands allow flipping horizontally and vertically.
The flips are done relative to the current rotation.
2020-06-12 01:00:10 +01:00
Jason c9b8ec89cc Fix typo in manpages 2019-11-23 14:19:17 +00:00
Harry Jeffery 1ae4db158f man: Document default binds 2019-08-28 16:43:11 +01:00
Sebastian Parborg 498c35c288 Added crop scaling method
Added a method that scales and crop the image so that the image will
fill the whole window.

Also made viewport update respect the current scaling mode.
2019-08-25 21:35:15 +01:00
Sebastian Parborg cd67aca62d Add initial_pan option to set the starting pan position 2019-08-25 21:28:33 +01:00
Harry Jeffery ecc58e5ee2 man: Remove non-existent feature from manpage 2019-08-25 20:00:44 +01:00
Sebastian Parborg 3bc2f66dc4 Add upscaling method command
This works the same way as the existing scale command except that it
changes the upscaling method.

Also did some code reduction on the scaling command.
2019-08-25 19:18:16 +01:00
Harry Jeffery aec3c01db0 imv: Add -c option to specify commands to run at startup 2019-08-18 15:08:02 +01:00
Harry Jeffery 00ad6b1d8e imv: Add bind command 2019-08-18 14:54:26 +01:00
Harry Jeffery c6ce270ee1 imv: Add index/all argument to close command 2019-08-16 19:08:54 +01:00
Harry Jeffery ec14d5f412 imv: Add imv_pid environment variable 2019-08-15 21:53:54 +01:00
Harry Jeffery 07b742e9da Tweak documentation 2019-08-12 20:53:08 +01:00
Harry Jeffery 299f7bf605 imv-msg: Write manpage 2019-08-12 20:41:27 +01:00
Harry Jeffery 2e42489721 Update man pages 2019-08-07 23:50:21 +01:00
7415963987456321 9fc019cd41 Add version flag with -v 2019-05-10 00:21:17 +00:00
Harry Jeffery 4eaa1c89ae Add customisable image resizing behaviour
Two new flags: -w and -W enable resizing and recentering, respectively.
Also add an 'autoresize' config variable to control this behaviour.

Fixes #122
2019-02-16 21:01:38 +00:00
Harry Jeffery c0a7723905 Specify multiple binds on a single line 2018-11-26 21:32:27 +00:00
Harry Jeffery d2b8d20d43 Tweak scaling mode documentation 2018-11-26 20:10:02 +00:00
Harry Jeffery 57d7431b63
Merge pull request #131 from chocolateboy/document-scaling-mode-next
Document the "next" scaling mode
2018-11-26 20:08:32 +00:00
Jeinzi b5e646615e Adapted documentation. 2018-09-01 03:33:22 +02:00
chocolateboy e5b5a5cf0e document the "next" scaling mode 2018-07-15 17:28:24 +01:00
Harry Jeffery 6882c7a412 Update manpage 2018-05-08 20:43:02 +01:00
Harry Jeffery cfafe6d963 Fix out of date options in man page 2017-12-19 21:33:24 +00:00
Harry Jeffery 8f3d69f3e8 Add options for window width and height
Fixes #120
2017-12-02 15:55:20 +00:00
Harry Jeffery 6af2d4ec15 Add an open command 2017-11-30 22:42:53 +00:00
Harry Jeffery 5ffe450e06 Remove overlay font command line arg
Made irrelevant by the config option, why waste 'e' on it.
2017-11-30 21:57:01 +00:00
Harry Jeffery 11919464cf Make -u argument take an argument 2017-11-30 21:16:15 +00:00
Harry Jeffery 8a2094efa4 Merge a,s,S flags to -s <mode> 2017-11-30 21:53:48 +00:00
Harry Jeffery b475e42555 Fix typo in manual 2017-11-30 21:41:34 +00:00
Harry Jeffery 0ef0625dc2 Write docs with asciidoc 2017-11-29 23:14:22 +00:00
Harry Jeffery 39509816cf Tweak wording in man page 2017-08-22 21:35:27 +01:00
Nicolas Cornu ffffb53a1d Add command 'X' to remove image from disk too 2017-03-06 16:46:33 +01:00
Dmitrij D. Czarkoff 34840c1148 Describe command "d" in manual
Fixes #97.
2016-11-17 08:42:49 +01:00
Dmitrij D. Czarkoff 6d8a963c9b Don't advertise hash sign usage with '-b' option
Most shells would interpret the hash sign as start of the comment, so command
with an unescaped hash sign will result in rather puzzling error message:

  $ imv -b #C0C0C0 files...
  Unknown argument 'b'. Aborting.

Although there is obvious workaround (detect 'b' in '?' case of getopt switch
and put more appropriate message), it generally makes more sense to suggest
plain hex values for input.
2016-10-23 03:41:47 +02:00
Hannes Koerber f1737ddd06 Add -x switch to exit imv when reaching end of file list. 2016-04-02 12:12:12 +02:00
Dmitrij D. Czarkoff 1013c0cd8b Add third scaling mode: best fit
* Add new switches: "-S" to force (default) "perfect fit" mode and "-s" to force
  "best fit" mode.
* Add new control key: "s" to switch scaling mode.
2016-01-16 02:54:31 +01:00