Add .xinitrc file
authorJulien Valroff <julien@kirya.net>
Fri, 3 Jun 2011 12:39:00 +0000 (14:39 +0200)
committerJulien Valroff <julien@kirya.net>
Fri, 3 Jun 2011 12:39:00 +0000 (14:39 +0200)
.xinitrc [new file with mode: 0644]

diff --git a/.xinitrc b/.xinitrc
new file mode 100644 (file)
index 0000000..bb17b97
--- /dev/null
+++ b/.xinitrc
@@ -0,0 +1,21 @@
+DEFAULT_SESSION=openbox-session
+
+case $1 in
+xfce4)
+       exec startxfce4
+       ;;
+icewm)
+       icewmbg &
+       icewmtray &
+       exec icewm
+       ;;
+wmaker)
+       exec wmaker
+       ;;
+openbox)
+       exec openbox-session
+       ;;
+*)
+       exec $DEFAULT_SESSION
+       ;;
+esac