From cba37a95d2f1e99dc62d0118c3af6fc0cad0f4be Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 19 Mar 2009 08:39:24 +0100 Subject: Added completions for fbsetbg, fbsetroot and feh --- etc/completions/_fbsetroot | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 etc/completions/_fbsetroot (limited to 'etc/completions/_fbsetroot') diff --git a/etc/completions/_fbsetroot b/etc/completions/_fbsetroot new file mode 100644 index 0000000..bc8903a --- /dev/null +++ b/etc/completions/_fbsetroot @@ -0,0 +1,42 @@ +#compdef fbsetroot +## completion for fbsetroot (fluxbox 1.0.0+deb1-9), based on fbsetroot(1) +## Daniel Friesel +## https://derf.homelinux.org/~derf/dotfiles/completion/_fbsetroot + +local arguments +local texturestrings colors + +texturestrings=( + Horizontal + Vertical + Diagonal + Crossdiagonal + Pipecross + Elliptic + Rectangle + Pyramid +) + +colors=( + white gray black + green yellow red + blue cyan purple +) + +arguments=( + '-display[specify display]:display: ' + - help + '-help[print help]' + - solid + '-solid[set root window to specified color]:color:'"($colors)" + - gradient + '-gradient[render texture string]:texturestring:'"($texturestrings)" + '-from[first grodient color]:color:'"($colors)" + '-to[second gradient color]:color:'"($colors)" + - mod + '-mod[create modula pattern]:x: :y: ' + '-bg[modula background color]:color:'"($colors)" + '-fg[modula foreground color]:color:'"($colors)" +) + +_arguments -s $arguments -- cgit v1.2.3