From 07b742e9da2a12d163d7733aaefc5ae6bce555b6 Mon Sep 17 00:00:00 2001 From: Harry Jeffery Date: Mon, 12 Aug 2019 20:53:08 +0100 Subject: Tweak documentation --- README.md | 7 ++++--- doc/imv.1.txt | 4 +++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3b71ad6..16d7470 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,14 @@ work for imv v4** Features -------- -* Wayland Support +* Native Wayland and X11 support * Support for over 30 different image file formats including: * Photoshop PSD files * Animated GIFS * Various RAW formats * SVG * Configurable key bindings and behaviour +* Controllable via scripts using `imv-msg` Example Usage ------------- @@ -55,7 +56,7 @@ you like. In your imv config: [binds] - = exec rm "$imv_current_file"; close + = exec rm "$imv_current_file"; close Then press 'X' within imv to delete the image and close it. @@ -63,7 +64,7 @@ Then press 'X' within imv to delete the image and close it. In your imv config: [binds] - = exec mogrify -rotate 90 "$imv_current_file" + = exec mogrify -rotate 90 "$imv_current_file" Then press 'R' within imv to rotate the image 90 degrees using imagemagick. diff --git a/doc/imv.1.txt b/doc/imv.1.txt index dd6c19a..6474036 100644 --- a/doc/imv.1.txt +++ b/doc/imv.1.txt @@ -198,6 +198,8 @@ 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. +The **imv-msg**(1) utility is provided to simpliy this from shell scripts. + Authors ------- @@ -210,4 +212,4 @@ Full source code and other information can be found at See Also -------- -**imv**(5) +**imv**(5) **imv-msg**(1) -- cgit v1.2.3