mirror of
https://github.com/IntenseWebs/windowm.git
synced 2024-07-07 04:22:58 -05:00
39 lines
2.0 KiB
Batchfile
39 lines
2.0 KiB
Batchfile
@echo off
|
|
SET DISPLAY=127.0.0.1:0.0
|
|
SET CYGWIN_ROOT=\cygwin
|
|
SET RUN=%CYGWIN_ROOT%\bin\run -p /usr/X11R6/bin
|
|
SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH%
|
|
SET XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults
|
|
SET XCMSDB=/usr/X11R6/lib/X11/Xcms.txt
|
|
SET XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
|
|
SET XNLSPATH=/usr/X11R6/lib/X11/locale
|
|
if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH
|
|
attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0
|
|
del %CYGWIN_ROOT%\tmp\.X11-unix\X0
|
|
|
|
:CLEANUP-FINISH
|
|
if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix
|
|
|
|
if "%OS%" == "Windows_NT" goto OS_NT
|
|
|
|
goto STARTUP
|
|
|
|
:OS_NT
|
|
|
|
echo startxwin.bat - Starting on Windows NT/2000/XP/2003
|
|
|
|
:STARTUP
|
|
|
|
%RUN% XWin -screen -multiwindow -clipboard -silent-dup-error
|
|
sleep 20
|
|
%RUN% wmaker
|
|
%RUN% xterm -fn '-adobe-courier-medium-r-*-*-17-*-*-*-*-*-*-*' -geometry 80x36+65+0 -sb -sl 2000 -bg black -fg white -cr green -e /usr/bin/bash -l
|
|
%RUN% xterm -fn '-adobe-courier-medium-r-*-*-17-*-*-*-*-*-*-*' -geometry 80x36+920+0 -sb -sl 2000 -bg black -fg white -cr green -e /usr/bin/bash -l
|
|
%RUN% xterm -fn '-adobe-courier-medium-r-*-*-17-*-*-*-*-*-*-*' -geometry 80x36+65+620 -sb -sl 2000 -bg black -fg white -cr green -e /usr/bin/bash -l
|
|
%RUN% xterm -fn '-adobe-courier-medium-r-*-*-17-*-*-*-*-*-*-*' -geometry 80x36+920+620 -sb -sl 2000 -bg black -fg white -cr green -e /usr/bin/bash -l
|
|
|
|
%RUN% xterm -fn '-adobe-courier-medium-r-*-*-17-*-*-*-*-*-*-*' -geometry 80x36+95+30 -sb -sl 2000 -bg navy -fg white -cr green -e /usr/bin/bash -l
|
|
%RUN% xterm -fn '-adobe-courier-medium-r-*-*-17-*-*-*-*-*-*-*' -geometry 80x36+950+30 -sb -sl 2000 -bg navy -fg white -cr green -e /usr/bin/bash -l
|
|
%RUN% xterm -fn '-adobe-courier-medium-r-*-*-17-*-*-*-*-*-*-*' -geometry 80x36+95+650 -sb -sl 2000 -bg navy -fg white -cr green -e /usr/bin/bash -l
|
|
%RUN% xterm -fn '-adobe-courier-medium-r-*-*-17-*-*-*-*-*-*-*' -geometry 80x36+950+650 -sb -sl 2000 -bg navy -fg white -cr green -e /usr/bin/bash -l
|