summaryrefslogtreecommitdiff
path: root/xinitrc.cpp
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 15:54:54 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 15:54:54 +0000
commitf18e25ab379836d0885660ad9c42ed588b1152b8 (patch)
tree727c1863369990c7f3acf97d37b29e434a8a99e0 /xinitrc.cpp
R6.6 is the Xorg base-lineXORG-MAIN
Diffstat (limited to 'xinitrc.cpp')
-rw-r--r--xinitrc.cpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/xinitrc.cpp b/xinitrc.cpp
new file mode 100644
index 0000000..641eede
--- /dev/null
+++ b/xinitrc.cpp
@@ -0,0 +1,33 @@
+XCOMM!/bin/sh
+XCOMM $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=XINITDIR/.Xresources
+sysmodmap=XINITDIR/.Xmodmap
+
+XCOMM merge in defaults and keymaps
+
+if [ -f $sysresources ]; then
+ xrdb -merge $sysresources
+fi
+
+if [ -f $sysmodmap ]; then
+ xmodmap $sysmodmap
+fi
+
+if [ -f $userresources ]; then
+ xrdb -merge $userresources
+fi
+
+if [ -f $usermodmap ]; then
+ xmodmap $usermodmap
+fi
+
+XCOMM start some nice programs
+
+twm &
+xclock -geometry 50x50-1+1 &
+xterm -geometry 80x50+494+51 &
+xterm -geometry 80x20+494-0 &
+exec xterm -geometry 80x66+0+0 -name login