summaryrefslogtreecommitdiff
path: root/etc/completions/_fbsetroot
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-19 08:39:24 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-19 08:39:24 +0100
commitcba37a95d2f1e99dc62d0118c3af6fc0cad0f4be (patch)
treebb3ccc5109bf44173e17d866d9dc6d61ac72374b /etc/completions/_fbsetroot
parente4cd3cacff9c78b71a7eeb6374a3254238857924 (diff)
Added completions for fbsetbg, fbsetroot and feh
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..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 <derf@derf.homelinux.org>
+## 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