Include particleman in window manager completion of zsh
[grml-x.git] / etc / zsh / completion.d / _grml-x
1 #compdef grml-x
2 # Filename:      /etc/zsh/completion.d/grml-x
3 # Purpose:       completion for command grml-x for zsh (z shell)
4 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports:   see http://grml.org/bugs/
6 # License:       This file is licensed under the GPL v2.
7 # Latest change: Sam Nov 17 18:59:26 CET 2007 [mika]
8 ################################################################################
9
10 local arguments wm
11 local -a wms
12
13 wms=()
14
15 for wm in awesome blackbox dwm evilwm fluxbox fvwm fvwm2 fvwm-crystal      \
16           gnome-session gnomesession icewm ion2 ion3 jwm larswm openbox    \
17           particleman pekwm pwm3 ratpoison startkde twm w9wm windowlab wmi \
18           wmii wm-ng xfce4 xfwm4 xmonad ; do
19     [ -x /usr/bin/$wm ] && wms+=$wm
20 done
21
22 arguments=(
23   '-composite[enable composite extension (disabled by default)]'
24   '-display:display for xserver:(7 8)'
25   '-force[force creation of xconfig file]'
26   '-help:[display help]'
27   '-genmouse[generate generic entry for mouse using /dev/input/mice and auto protocol]'
28   '-hsync:horizontal sync frequencies (<number>):(28 `seq 30 5 95` 96)'
29   '-mode:resolution-mode for xserver (<width>x<height> - e.g. 1024x768)]:(1920x1440 1600x1200 1400x1050 1280x1024 1280x960 1024x768 800x600 640x480)'
30   '-module:module for xserver :(`cd /usr/lib/xorg/modules/drivers/ && /bin/ls *.so | sed -e 's/_drv.so//' -e 's/.so//'`)'
31   '-nodpms[disable Display Power Management Signaling]'
32   '-noddc[use static resolution modes for monitors without support for ddc probing]'
33   '-nohsync[do not activate HorizSync-entry]'
34   '-nostart[do not start X server]'
35   '-nosynaptics[use a synaptics touchpad without synaptics driver/functions]'
36   '-nosync[do not use static horizontal and vertical sync frequencies but let it choose the X-server]'
37   '-novref[do not activate VertRefresh-entry]'
38   '-ps2[add entry for PS/2 mouse]'
39   '-usb[add entry for USB mouse]'
40   '-vsync:vertical sync frequencies (<number>):(43 `seq 45 5 70` 72)'
41   '-xinerama[try to set up multihead using Xinerama setup]'
42   ':window manager:($wms)'
43 )
44 _arguments -s $arguments
45
46 ## END OF FILE #################################################################
47 # vim:foldmethod=marker