summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-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