summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO3
-rw-r--r--feh.16
-rw-r--r--src/keyevents.c10
-rw-r--r--src/options.c2
4 files changed, 18 insertions, 3 deletions
diff --git a/TODO b/TODO
index 56633c2..198856a 100644
--- a/TODO
+++ b/TODO
@@ -4,9 +4,6 @@ Change sizes and you get the old thumbs....
Option --autograb for feh to grab keyboard - so you can control feh without
having to focus it. Have to be a bit careful with this but could be useful.
-Now we have 10 --action* options, would be nice to hit a key and get a text
-overlay reminder showing what each one does :p
-
key/option/signal/timeout to totally reload filelist (rescan directories etc)
The "No more slides left in show" bug was fixed, but now there's a rare
diff --git a/feh.1 b/feh.1
index b98be39..70065be 100644
--- a/feh.1
+++ b/feh.1
@@ -535,6 +535,12 @@ Size window to current image size.
Pause the slideshow (only useful when using
timed reloading or image changes)
.TP 5
+.B a, A
+Toggle actions display (see --draw-actions)
+.TP 5
+.B d, D
+Toggle filename display (see --draw-filename)
+.TP 5
.B s, S
Save the current image to a unique filename.
.TP 5
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"