aboutsummaryrefslogtreecommitdiff
path: root/x1
blob: e3f3dca26145e732ebed7f3ff6739fc9efa65d66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

WM="${1:-/etc/X11/xinit/xinitrc.fvwm2}"
case "$1" in
  "") ;;
  /*) ;;
  *)  WM=/etc/X11/xinit/xinitrc.$1 ;;
esac

[ ! -x "$WM" ] && WM="$( which $1 )"

echo startx $WM -- :1
exec startx $WM -- :1