summaryrefslogtreecommitdiff
path: root/desktop/slim/xinitrc.slim
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/slim/xinitrc.slim')
-rw-r--r--desktop/slim/xinitrc.slim26
1 files changed, 26 insertions, 0 deletions
diff --git a/desktop/slim/xinitrc.slim b/desktop/slim/xinitrc.slim
new file mode 100644
index 0000000000..9e8df8d7bf
--- /dev/null
+++ b/desktop/slim/xinitrc.slim
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# This xinitrc is designed to be used when logging in with SLiM. Sessions
+# listed here should be the same ones that are in /etc/slim.conf. If you
+# wish to add a session, add a section below, and add it to the sessions
+# line in /etc/slim.conf
+#
+# by Martin Lefebvre (Modified by SlackBuilds.org project)
+
+case $1 in
+xfce4)
+ exec startxfce4
+ ;;
+icewm)
+ exec icewm-session
+ ;;
+wmaker)
+ exec wmaker
+ ;;
+blackbox)
+ exec blackbox
+ ;;
+*)
+ exec twm
+ ;;
+esac