From 0901ec1d4106bbe2bbe41dd3052ba54e9173e985 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 10 Aug 2008 10:09:24 +0200 Subject: Added fbsetroot completion --- etc/completions/_fbsetroot | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 etc/completions/_fbsetroot (limited to 'etc') diff --git a/etc/completions/_fbsetroot b/etc/completions/_fbsetroot new file mode 100644 index 0000000..ab49a66 --- /dev/null +++ b/etc/completions/_fbsetroot @@ -0,0 +1,42 @@ +#compdef fbsetroot +## fbsetroot completion +## Daniel Friesel +## https://derf.homelinux.org/~derf/dotfiles/zsh/completions/_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