From 62e80439c3285f5a1ca615c64daff1dc6e5b3b6b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 19 Mar 2010 22:16:54 +0100 Subject: Update feh completion --- etc/completions/_feh | 51 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 20 deletions(-) (limited to 'etc/completions') diff --git a/etc/completions/_feh b/etc/completions/_feh index a48b9b0..064762e 100644 --- a/etc/completions/_feh +++ b/etc/completions/_feh @@ -41,15 +41,14 @@ argument_pairs=( 'thumbnails' 't' 'menu-font' 'M+' 'no-menus' 'N' - 'next-button' '1+' + 'reload-button' '0' + 'pan-button' '1+' 'zoom-button' '2+' - 'pan-button' '3+' - 'menu-button' '4+' - 'no-menu-ctrl-mask' '5' - 'rotate-button' '6+' - 'no-rotate-ctrl-mask' '7' - 'blur-button' '8+' - 'no-blur-ctrl-mask' '9' + 'menu-button' '3+' + 'prev-button' '4+' + 'next-button' '5+' + 'rotate-button' '8+' + 'blur-button' '9+' 'ignore-aspect' 'X' 'stretch' 's' 'thumb-width' 'y+' @@ -66,6 +65,11 @@ argument_pairs=( 'image-bg' 'B+' 'output' 'o' 'output-only' 'O' + 'rcfile' '_' + 'thumb-title' '~' + 'title' '^' + 'start-at' '|' + 'title-font' '@' ) argument_postfix=( @@ -101,15 +105,14 @@ argument_postfix=( 'thumbnails' '[Enable interactive index mode]' 'menu-font' '[Set font in menus]:font: ' 'no-menus' "[Don't load or show any menus]" - 'next-button' '[Button for next image]:button:_feh_button' + 'reload-button' '[Button to reload image]:button:_feh_button' + 'pan-button' '[Button to pan image]:button:_feh_button' 'zoom-button' '[Button to zoom image]:button:_feh_button' - 'pan-button' '[Ctrl+Button to pan image]:button:_feh_button' 'menu-button' '[Button to activate menu]:button:_feh_button' - 'no-menu-ctrl-mask' '[Show Menu without pressing ctrl]' + 'prev-button' '[Button to go to previous image]:button:_feh_button' + 'next-button' '[Button to go to next image]:button:_feh_button' 'rotate-button' '[Ctrl+Button to rotate image]:button:_feh_button' - 'no-rotate-ctrl-mask' '[Rotate without pressing ctrl]' 'blur-button' '[Ctrl+Button tu blur image]:button:_feh_button' - 'no-blur-ctrl-mask' '[Blur without pressing ctrl]' 'ignore-aspect' "[montage mode: Don't preserve aspect ratio]" 'stretch' '[montage mode: Enlarge images to fit thumbnail size]' 'thumb-width' '[montage mode: Thumbnail width]:pixels: ' @@ -127,31 +130,39 @@ argument_postfix=( 'image-bg' '[Set transparent image background]:background:(white black default)' 'output' '[montage mode: Output file]:file:_files' 'output-only' "[montage mode: Output file, don't display montage]:file:_files" + 'rcfile' '[Specify config file]:file:_files' + 'thumb-title' '[Window title in thumbnail mode]:format string' + 'title' '[Window title in slideshow mode]:format string' + 'start-at' '[Filelist start position]:digit' + 'title-font' '[Title font for index mode]:font' ) arguments=( - '--rcfile[Specify config file]:file:_files' '--zoom[Zoom images]:percent: ' '--caption-path[Where to look for image captions]:relative directory: ' --action{1..9}':shell: ' '--bg-tile[Set tiled desktop background]:file:_files' '--bg-center[Set centered desktop background]:file:_files' '--bg-scale[Set scaled desktop background]:file:_files' - '--bg-seamless[Set scaled desktop background, preserving aspect]:file:_files' + '--bg-seamless[Set desktop background with seamless borders]:file:_files' + '--bg-fill[Set scaled desktop background, preserving aspect ratio]:file:_files' '--menu-style[Style descriptor for menu text]:file:_files' - '--menu-bg[Background image in menus]: :_feh_background' '--menu-border[Set menu background border]:integer: ' - '--no-pan-ctrl-mask[Pan without pressing ctrl]' + '--menu-ctrl-mask[Use Ctrl+Button to display menu]' + '--no-rotate-ctrl-mask[Don'\''t require Ctrl for the rotate button]' + '--no-blur-ctrl-mask[Don'\''t require Ctrl for the blur button]' '--no-xinerama[Disable xinerama support]' '--screen-clip[Toggle window clipping]' '--hide-pointer[Hide mouse pointer in fullscreen mode]' '*--fontpath[index mode: directory to search for fonts]:directory:_path_files -/' - '--title-font[index mode: title font]:font: ' + '--index-name[Show image name in index/thumbnail mode]:bool:(0 1)' + '--index-size[Show image size in index/thumbnail mode]:bool:(0 1)' + '--index-dim[Show image dimensions in index/thumbnail mode]:bool:(0 1)' '--no-jump-on-resort[Stay at current image after resorting the filelist]' '--cycle-once[Quit after one loop through the slideshow]' '--draw-actions[Draw defined actions]' '--cache-thumbnails[Enable thumbnail caching]' - '--title[slideshow mode: Set window title]:title: ' + '--menu-bg[Background image in menus]: :_feh_background' '*:file:_files' ) @@ -177,7 +188,7 @@ function _feh_theme { function _feh_button { typeset expl _wanted button expl button \ - compadd 1 2 3 + compadd {0..5} } function _feh_background { -- cgit v1.2.3