Depend on debhelper (>= 5) and bump compat version to 5
[grml-x.git] / usr_share_grml / zsh / completion / grml / _grml-x
1 #compdef grml-x
2 # Filename:      /usr/share/grml/zsh/completion/grml/_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 ################################################################################
8
9 local arguments wm
10 local -a wms
11
12 wms=()
13
14 for wm in awesome blackbox dwm evilwm fluxbox fvwm fvwm2 fvwm-crystal      \
15           gnome-session gnomesession icewm ion2 ion3 jwm larswm openbox    \
16           particleman pekwm pwm3 ratpoison startkde twm w9wm windowlab wmi \
17           wmii wm-ng xfce4 xfce4-session xfwm4 xmonad ; do
18     [[ -x /usr/bin/$wm ]] && wms+=$wm
19 done
20
21 arguments=(
22   '-composite[enable composite extension (disabled by default)]'
23   '-display[display for xserver]:display:(7 8)'
24   '-fallback[use xorg.conf.example to get X running when it won'\''t start otherwise]'
25   '-force[force (re-)creation of xorg.conf 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>)]:hsync frequencies:(28 `seq 30 5 95` 96)'
29   '-mode[resolution-mode for xserver (<width>x<height> - e.g. 1024x768)]:resolutions:(1920x1440 1600x1200 1400x1050 1280x1024 1280x960 1024x768 800x600 640x480)'
30   '-module[module for xserver]:modules:(`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>)]:vsync frequencies:(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