summaryrefslogtreecommitdiff
path: root/etc/completions/_fbsetroot
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-08-10 10:09:24 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-08-10 10:09:24 +0200
commit0901ec1d4106bbe2bbe41dd3052ba54e9173e985 (patch)
treee1f84bc32f0b3dfbcfdc12fb578d8e3035c656ad /etc/completions/_fbsetroot
parenta3db3cd0a92ae5a1c5bdf1204b4302ca0f93531e (diff)
Added fbsetroot completion
Diffstat (limited to 'etc/completions/_fbsetroot')
-rw-r--r--etc/completions/_fbsetroot42
1 files changed, 42 insertions, 0 deletions
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 <derf@derf.homelinux.org>
+## 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