diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-08-09 15:05:39 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-08-09 15:05:39 +0200 |
commit | 7311bf46a569da1cd40ec08429dfca1cffa338ae (patch) | |
tree | b976651b987d04bd755a2b75971c70d55d6fd622 | |
parent | 5a280fd5b65957720f9811d292086dd54c4015f8 (diff) |
Add documentation and default keybindings for flip/mirror
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | man/feh.pre | 11 | ||||
-rw-r--r-- | src/keyevents.c | 2 |
3 files changed, 15 insertions, 0 deletions
@@ -10,6 +10,8 @@ git HEAD <https://github.com/derf/feh/issues/49> * Allow Shift modifier in key config <https://github.com/derf/feh/issues/30> + * New actions: lossless flip (key _) and mirror (key |) + <https://github.com/derf/feh/issues/53> Mon, 04 Jul 2011 14:46:36 +0200 Daniel Friesel <derf@finalrewind.org> 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); |