summaryrefslogtreecommitdiff
path: root/desktop/slim/xinitrc.slim
diff options
context:
space:
mode:
authorMartin Lefebvre <dadexter@gmail.com>2010-05-11 14:03:47 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 14:03:47 +0200
commitc58610211671238bb73eb59a1f9600185fdf2534 (patch)
tree73933c59c64b13ad918c98e28b94b4dabbccaa5c /desktop/slim/xinitrc.slim
parent1dcd7db5a42d6df1dbc89f925991d02f9f0cd989 (diff)
downloadslackbuilds-c58610211671238bb73eb59a1f9600185fdf2534.tar.gz
desktop/slim: Initial import
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