diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/keyevents.c | 10 | ||||
-rw-r--r-- | src/options.c | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/keyevents.c b/src/keyevents.c index a3ab4d3..5cdf640 100644 --- a/src/keyevents.c +++ b/src/keyevents.c @@ -331,6 +331,16 @@ feh_event_handle_keypress(XEvent * ev) switch (*kbuf) { + case 'a': + case 'A': + opt.draw_actions = !opt.draw_actions; + winwidget_render_image(winwid, 0, 1); + break; + case 'd': + case 'D': + opt.draw_filename = !opt.draw_filename; + winwidget_render_image(winwid, 0, 1); + break; case 'n': case 'N': case ' ': diff --git a/src/options.c b/src/options.c index 1ca942a..38be2fa 100644 --- a/src/options.c +++ b/src/options.c @@ -1123,6 +1123,8 @@ show_usage(void) " w, W Size window to current image dimensions\n" " h, H Pause the slideshow (only useful when using\n" " timed reloading or image changes)\n" +" a, A Toggle action display (--draw-actions)\n" +" d, D Toggle filename display (--draw-filename)\n" " s, S Save current image to unique filename\n" " f, F Save current filelist to unique filename\n" " <, > In place editing, rotate 90 degrees right/left\n" |