From 4b2cd1835a18dc0445c5ab4c14f80d1b664e626d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 17 Oct 2016 21:05:57 +0200 Subject: Properly initialize zoom_fill key binding, set it to ! (exclamation mark) --- man/feh.pre | 2 +- src/keyevents.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/man/feh.pre b/man/feh.pre index 2907bb2..407d96f 100644 --- a/man/feh.pre +++ b/man/feh.pre @@ -1414,7 +1414,7 @@ Zoom to 100% . Zoom to fit the window size . -.It Ao keypad 5 Ac Bq zoom_fill +.It ! Bq zoom_fill . Zoom to fill the window size like .Cm --bg-fill diff --git a/src/keyevents.c b/src/keyevents.c index 4385fc6..7bfacc8 100644 --- a/src/keyevents.c +++ b/src/keyevents.c @@ -134,6 +134,7 @@ void init_keyevents(void) { feh_set_kb(&keys.zoom_out , 0, XK_Down , 0, XK_KP_Subtract,0, 0); feh_set_kb(&keys.zoom_default, 0, XK_KP_Multiply, 0, XK_asterisk,0, 0); feh_set_kb(&keys.zoom_fit , 0, XK_KP_Divide , 0, XK_slash , 0, 0); + feh_set_kb(&keys.zoom_fill , 0, XK_exclam , 0, 0 , 0, 0); feh_set_kb(&keys.size_to_image, 0, XK_w , 0, 0 , 0, 0); feh_set_kb(&keys.render , 0, XK_KP_Begin , 0, XK_R , 0, 0); feh_set_kb(&keys.toggle_actions, 0, XK_a, 0, 0, 0, 0); -- cgit v1.2.3