From 2e424897218eac66c8e9e326cc07641eacf1a810 Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Wed, 7 Aug 2019 23:50:21 +0100 Subject: Update man pages --- doc/imv.1.txt | 40 ++++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 14 deletions(-) (limited to 'doc/imv.1.txt') diff --git a/doc/imv.1.txt b/doc/imv.1.txt index 4a3fdaf..dd6c19a 100644 --- a/doc/imv.1.txt +++ b/doc/imv.1.txt @@ -63,12 +63,6 @@ Options *-u* :: Set upscaling method used by imv. -*-w*:: - Enable automatic resizing of the window to fit each image. - -*-W*:: - Enable automatic resizing and recentering of the window to fit each image. - *-x*:: Disable looping of input paths. @@ -78,25 +72,31 @@ Commands Commands can be entered by pressing *:*. imv supports the following commands: *quit*:: - Quit imv. + Quit imv. Aliased to 'q'. *pan* :: Pan the view by the given amounts. -*select_rel* :: - Select a different image. '1' is the next one, '-1' is the previous. +*next* :: + Move forwards by a given number of images. Aliased to 'n' + +*prev* :: + Move backwards by a given number of images. Aliased to 'p' -*select_abs* :: +*goto* :: Select an image by index. '1' is the first image, '2' the second, etc. The last image can be indexed as '-1', the second last as '-2'. + Aliased to 'g'. *zoom* :: Zoom into the image by the given amount. Negative values zoom out. 'actual' resets the zoom to 100%, showing the image at its actual size. + Aliased to 'z'. *open* [-r] :: Add the given paths to the list of open images. If the '-r' option is specified, do so recursively. Shell expansions may be used. + Aliased to 'o'. *close*:: Close the currently selected image. @@ -125,12 +125,17 @@ Commands can be entered by pressing *:*. imv supports the following commands: *toggle_playing*:: Toggle playback of the current image if it is an animated gif. -*scaling_mode* :: +*scaling* :: Set the current scaling mode. Setting the mode to 'next' advances it to the next mode in the list. -*slideshow_duration* :: - Change the slideshow duration by the given amount in seconds. +*slideshow* <+amount|-amount|duration>:: + Increase or decrease the slideshow duration by the given amount in seconds, + or set its duration directly. Aliased to 'ss'. + +*background* :: + Set the background color. 'checks' for a chequerboard pattern, or specify + a 6-digit hexadecimal color code. Aliased to 'bg'. Configuration ------------- @@ -186,10 +191,17 @@ customising the window's title, or the overlay text. *$imv_slideshow_elapsed*:: How long the current image has been shown for. +IPC +--- + +imv can accept commands from another process over a unix socket. Each instance +of imv will open a unix socket named '$XDG_RUNTIME_DIR/imv-$PID.sock'. If +$XDG_RUNTIME_DIR is undefined, the socket is placed into '/tmp/' instead. + Authors ------- -imv is written and maintained by Harry Jeffery +imv is written and maintained by Harry Jeffery with contributions from other developers. Full source code and other information can be found at -- cgit v1.2.3