summaryrefslogtreecommitdiff
path: root/etc/completions/_fbsetroot
blob: 68a390631eb746071897ff39027f21a582ef0c99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#compdef fbsetroot
## completion for fbsetroot (fluxbox 1.0.0+deb1-9), based on fbsetroot(1)
## Daniel Friesel <derf@derf.homelinux.org>
## License: WTFPL <http://sam.zoy.org/wtfpl>:
##   0. You just DO WHAT THE FUCK YOU WANT TO.
##
## http://derf.homelinux.org/git/zsh/plain/etc/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}