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 ################################################################################
14 for wm in awesome blackbox dwm evilwm fluxbox fvwm fvwm2 fvwm-crystal \
15 gnome-session gnomesession i3 icewm ion2 ion3 jwm larswm \
16 openbox particleman pekwm pwm3 ratpoison startkde startlxde \
17 twm w9wm windowlab wmi wmii wm-ng xfce4 xfce4-session xfwm4 \
18 xmonad x-window-manager ; do
19 [[ -x /usr/bin/$wm ]] && wms+=$wm
23 '--display[display for xserver]:display:(7 8)'
24 '--force[force (re-)creation of xorg.conf file]'
25 '--help[display help]:'
26 '--hsync[horizontal sync frequencies (<number>)]:hsync frequencies:(28 `seq 30 5 95` 96)'
27 '--mode[resolution-mode for xserver (<width>x<height> - e.g. 1024x768)]:resolutions:(1920x1440 1600x1200 1400x1050 1280x1024 1280x960 1024x768 800x600 640x480)'
28 '--module[module for xserver]:modules:(`cd /usr/lib/xorg/modules/drivers/ && /bin/ls *.so | sed -e 's/_drv.so//' -e 's/.so//'`)'
29 '--nostart[do not start X server]'
30 '--vsync[vertical sync frequencies (<number>)]:vsync frequencies:(43 `seq 45 5 70` 72)'
31 ':window manager:($wms)'
33 _arguments -s $arguments
35 ## END OF FILE #################################################################
36 # vim:foldmethod=marker