summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-10-17 21:05:57 +0200
committerDaniel Friesel <derf@finalrewind.org>2016-10-17 21:05:57 +0200
commit4b2cd1835a18dc0445c5ab4c14f80d1b664e626d (patch)
tree7d749b7cde15f6696ec138be4464a98c81d50a51
parent32af3273533e7fc238ac310340224906bf0b9416 (diff)
Properly initialize zoom_fill key binding, set it to ! (exclamation mark)
-rw-r--r--man/feh.pre2
-rw-r--r--src/keyevents.c1
2 files changed, 2 insertions, 1 deletions
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);