summaryrefslogtreecommitdiff
path: root/etc/completions/_fbsetroot
blob: bc8903ae112e0ba2e24a6875167e646ef8e1ef49 (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
#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