From 7311bf46a569da1cd40ec08429dfca1cffa338ae Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 9 Aug 2011 15:05:39 +0200 Subject: Add documentation and default keybindings for flip/mirror --- ChangeLog | 2 ++ man/feh.pre | 11 +++++++++++ src/keyevents.c | 2 ++ 3 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index 03ec370..f55edc5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,8 @@ git HEAD * Allow Shift modifier in key config + * New actions: lossless flip (key _) and mirror (key |) + Mon, 04 Jul 2011 14:46:36 +0200 Daniel Friesel diff --git a/man/feh.pre b/man/feh.pre index b220a2b..77e59c7 100644 --- a/man/feh.pre +++ b/man/feh.pre @@ -1012,6 +1012,17 @@ away. See .Xr jpegtran 1 for more about lossless JPEG rotation. . +.It _ Bq flip +. +In place editing - vertical flip +. +.It | Bq mirror +. +In place editing - horizontal flip. +Again, see +.Xr jpegtran 1 +for more information. +. .It 0 .. 9 Bq action_0 .. action_9 . Execute the corresponding action diff --git a/src/keyevents.c b/src/keyevents.c index 7c14e14..4f01c24 100644 --- a/src/keyevents.c +++ b/src/keyevents.c @@ -147,6 +147,8 @@ void init_keyevents(void) { feh_set_kb(&keys.save_filelist, 0, XK_f, 0, 0, 0, 0); feh_set_kb(&keys.orient_1, 0, XK_greater, 0, 0, 0, 0); feh_set_kb(&keys.orient_3, 0, XK_less, 0, 0, 0, 0); + feh_set_kb(&keys.flip, 0, XK_underscore, 0, 0, 0, 0); + feh_set_kb(&keys.mirror, 0, XK_bar, 0, 0, 0, 0); feh_set_kb(&keys.reload_minus, 0, XK_minus, 0, 0, 0, 0); feh_set_kb(&keys.reload_plus, 0, XK_plus, 0, 0, 0, 0); -- cgit v1.2.3