#compdef fbsetbg ## fluxbox fbsetbg completion ## Daniel Friesel ## https://derf.homelinux.org/~derf/dotfiles/zsh/completions/_fbsetbg local arguments # not yet optimal arguments=( -{u,U}'[specify wallpapersetter]:wallpapersetter: ' -{b,B}'[options for fbsetroot]:fbsetrootoptions: ' - '(exclusive)' '-h[show help]' '-i[show wallpapersetter information]' '-l[set previous wallpaper]' '-p[show tips]' -{f,F}'[set fullscreen wallpaper]:file:_files' -{c,C}'[set centered wallpaper]:file:_files' -{t,T}'[set tiled wallpaper]:file:_files' -{a,A}'[set maximized wallpaper]:file:_files' -{r,R}'[set random wallpaper from directory]:directory:_path_files -/' ) _arguments -s $arguments