rewrite grml-x
[grml-x.git] / usr_share_grml / zsh / completion / grml / _grml-x
index 22dc13b..d2e74e4 100644 (file)
@@ -11,35 +11,23 @@ local -a wms
 
 wms=()
 
-for wm in awesome blackbox dwm evilwm fluxbox fvwm fvwm2 fvwm-crystal     \
-          gnome-session gnomesession icewm ion2 ion3 jwm larswm lxsession \
-         openbox particleman pekwm pwm3 ratpoison startkde twm w9wm      \
-         windowlab wmi wmii wm-ng xfce4 xfce4-session xfwm4 xmonad       \
-         x-window-manager ; do
+for wm in awesome blackbox dwm evilwm fluxbox fvwm fvwm2 fvwm-crystal \
+          gnome-session gnomesession i3 icewm ion2 ion3 jwm larswm    \
+         openbox particleman pekwm pwm3 ratpoison startkde startlxde \
+         twm w9wm windowlab wmi wmii wm-ng xfce4 xfce4-session xfwm4 \
+         xmonad x-window-manager ; do
     [[ -x /usr/bin/$wm ]] && wms+=$wm
 done
 
 arguments=(
-  '-composite[enable composite extension (disabled by default)]'
-  '-display[display for xserver]:display:(7 8)'
-  '-fallback[use xorg.conf.example to get X running when it won'\''t start otherwise]'
-  '-force[force (re-)creation of xorg.conf file]'
-  '-help[display help]:'
-  '-genmouse[generate generic entry for mouse using /dev/input/mice and auto protocol]'
-  '-hsync[horizontal sync frequencies (<number>)]:hsync frequencies:(28 `seq 30 5 95` 96)'
-  '-mode[resolution-mode for xserver (<width>x<height> - e.g. 1024x768)]:resolutions:(1920x1440 1600x1200 1400x1050 1280x1024 1280x960 1024x768 800x600 640x480)'
-  '-module[module for xserver]:modules:(`cd /usr/lib/xorg/modules/drivers/ && /bin/ls *.so | sed -e 's/_drv.so//' -e 's/.so//'`)'
-  '-nodpms[disable Display Power Management Signaling]'
-  '-noddc[use static resolution modes for monitors without support for ddc probing]'
-  '-nohsync[do not activate HorizSync-entry]'
-  '-nostart[do not start X server]'
-  '-nosynaptics[use a synaptics touchpad without synaptics driver/functions]'
-  '-nosync[do not use static horizontal and vertical sync frequencies but let it choose the X-server]'
-  '-novref[do not activate VertRefresh-entry]'
-  '-ps2[add entry for PS/2 mouse]'
-  '-usb[add entry for USB mouse]'
-  '-vsync[vertical sync frequencies (<number>)]:vsync frequencies:(43 `seq 45 5 70` 72)'
-  '-xinerama[try to set up multihead using Xinerama setup]'
+  '--display[display for xserver]:display:(7 8)'
+  '--force[force (re-)creation of xorg.conf file]'
+  '--help[display help]:'
+  '--hsync[horizontal sync frequencies (<number>)]:hsync frequencies:(28 `seq 30 5 95` 96)'
+  '--mode[resolution-mode for xserver (<width>x<height> - e.g. 1024x768)]:resolutions:(1920x1440 1600x1200 1400x1050 1280x1024 1280x960 1024x768 800x600 640x480)'
+  '--module[module for xserver]:modules:(`cd /usr/lib/xorg/modules/drivers/ && /bin/ls *.so | sed -e 's/_drv.so//' -e 's/.so//'`)'
+  '--nostart[do not start X server]'
+  '--vsync[vertical sync frequencies (<number>)]:vsync frequencies:(43 `seq 45 5 70` 72)'
   ':window manager:($wms)'
 )
 _arguments -s $arguments