From b2ce6d8b85cd05964f509c4e00587ac58e3696f3 Mon Sep 17 00:00:00 2001 From: Alec C Date: Wed, 3 Mar 2021 12:02:26 -0800 Subject: Option Refactor and addition of Zoom Rate (#589) * fixed for simpler parenthesis matching * absolute file path for .fehbg, moved script creation into helper function * Removed unused variable. * added early exit condition as per Ferada's suggestion * Added enum for options to improve readability * migrated options to enum. * added support for zoom specification through options * added man entry for zoom-rate * added help entry for zoom-rate commands * updated man to have warnings about strange values for zoom options * fix memory leak (free exec_absolute_path) * added detection for path vs env PATH launch for use in .fehbg script gen. * Added enum for options to improve readability * migrated options to enum. * added support for zoom specification through options * added man entry for zoom-rate * added help entry for zoom-rate commands * updated man to have warnings about strange values for zoom options * Update help.raw removed zoom-in/out * removed zoom-in/out from options * updated man/help entry to remove in/out zoom specification * sanitize --zoom-rate in options parser; use a single variable for storing it Co-authored-by: Daniel Friesel --- man/feh.pre | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'man') diff --git a/man/feh.pre b/man/feh.pre index 79aa355..41b8ccc 100644 --- a/man/feh.pre +++ b/man/feh.pre @@ -980,8 +980,14 @@ zoom the image like the .Cm --bg-fill mode. . -.El +.It Cm --zoom-rate Ar ratio +. +Zoom images in and out by +.Ar ratio +.Pq default: 1.25 +when using the zoom keys and buttons. . +.El . .Sh MONTAGE MODE OPTIONS . -- cgit v1.2.3