nrelease - gui - Change window manager, cpdup additional directories
[dragonfly.git] / nrelease / gui / root / .xinitrc
CommitLineData
269886ee
MD
1#!/bin/tcsh
2#
3f279b9e 3
269886ee
MD
4umask 022
5#limit maxproc 200
6#limit datasize unlimit
7
8set userresources = "$HOME/.Xresources"
9set usermodmap = "$HOME/.Xmodmap"
10set sysresources = "/usr/pkg/xorg/lib/X11/xinit/.Xresources"
11set sysmodmap = "/usr/pkg/xorg/lib/X11/xinit/.Xmodmap"
12
13cd $HOME
14
15if ( -f $sysresources ) then
16 xrdb -merge $sysresources
17endif
18
19if ( -f $sysmodmap ) then
20 xmodmap $sysmodmap
21endif
22
23if ( -f $userresources ) then
24 xrdb -merge $userresources
25endif
26
27if ( -f $usermodmap ) then
28 xmodmap $usermodmap
29endif
30
31xset m 2 1
32(limit core 0; xscreensaver -nosplash) &
33asclock -shape -position -60+345 -led green -noblink &
34xclock -geometry 80x80-1+250 &
35eval `/usr/bin/ssh-agent -c`
36setenv TERM xterm
37
38# start window manager here
39#
40/usr/pkg/bin/fvwm2 -f ~/.fvwm/.fvwm2rc
41#startkde
42
43/bin/kill $SSH_AGENT_PID
44jobs -l >.tmp.$$
45/bin/kill `awk '{ print $3; }' < .tmp.$$`
46rm -f .tmp.$$