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