aboutsummaryrefslogtreecommitdiff
path: root/files/imv_config
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2017-11-29 21:13:10 +0000
committerHarry Jeffery <harry@exec64.co.uk>2017-11-29 21:13:56 +0000
commit4e3dfb80f367179a93ab4410f7cebd766bcc3bde (patch)
tree1a4ff2c75dbcea5372eb3ee85bb58621273933fa /files/imv_config
parent957a3efd3ea2d7b087f0b70f8cd4b733dfa4d29d (diff)
downloadimv-4e3dfb80f367179a93ab4410f7cebd766bcc3bde.tar.gz
Make title+overlay configurable
Fixes #110
Diffstat (limited to 'files/imv_config')
-rw-r--r--files/imv_config20
1 files changed, 20 insertions, 0 deletions
diff --git a/files/imv_config b/files/imv_config
index 1cd58af..f676963 100644
--- a/files/imv_config
+++ b/files/imv_config
@@ -38,6 +38,26 @@
# Disable imv's builtin binds so they don't conflict with the ones in this config
suppress_default_binds = true
+# Set the text used for the title and overlay. Environment variables
+# can be used, as can $(command) shell expansion, etc.
+# imv exports details about its state and the current image through various
+# environment variables.
+
+# Available values:
+# imv_current_file - path of currently opened image
+# imv_scaling_mode - name of the current scaling mode
+# imv_loading - 1 when a new image is loading, 0 otherwise
+# imv_current_index - index of current image, from 1-N
+# imv_file_count - total number of files
+# imv_width - width of current image
+# imv_height - height of current image
+# imv_scale - scaling of current image in percent
+# imv_slideshow_duration - number of seconds each image is shown for
+# imv_slideshow_elapsed - how long the current image has been shown for
+
+# title_text = imv - [${imv_current_index}/${imv_file_count}] $imv_current_file
+# overlay_text = ${imv_width}x${imv_height} @$ {imv_scale}% [$imv_scaling_mode]
+
[aliases]
# Create some command aliases
q = quit