summaryrefslogtreecommitdiff
path: root/etc/completions/_fbsetbg
blob: 6034a368f0ede262662b3b42e05f15e234fbde1b (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
#compdef fbsetbg
## completion for fbsetbg (fluxbox 1.0.0+deb1-9), based on fbsetbg(1)
## Daniel Friesel <derf@derf.homelinux.org>
## https://derf.homelinux.org/~derf/dotfiles/zsh/completions/_fbsetbg

local arguments

# not yet optimal
arguments=(
	-{u,U}'[specify wallpapersetter]:wallpapersetter: '
	-{b,B}'[options for fbsetroot]:fbsetrootoptions: '
	- '(exclusive)'
	'-h[show help]'
	'-i[show wallpapersetter information]'
	'-l[set previous wallpaper]'
	'-p[show tips]'
	-{f,F}'[set fullscreen wallpaper]:file:_files'
	-{c,C}'[set centered wallpaper]:file:_files'
	-{t,T}'[set tiled wallpaper]:file:_files'
	-{a,A}'[set maximized wallpaper]:file:_files'
	-{r,R}'[set random wallpaper from directory]:directory:_path_files -/'
)

_arguments -s $arguments