Commit 4b27ab79 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Add runtime shortcuts to toggle --draw-actions and --draw-filename

parent af9aca85
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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
+6 −0
Original line number Diff line number Diff line
@@ -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
+10 −0
Original line number Diff line number Diff line
@@ -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 ' ':
+2 −0
Original line number Diff line number Diff line
@@ -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"