aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Makefile.am6
-rwxr-xr-xmatchbox-session24
3 files changed, 34 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e69de29..97cb593 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -0,0 +1,5 @@
+2004-02-03 Matthew Allum, mallum@handhelds.org
+
+ * Makefile.am:
+ * matchbox-session:
+ Added matchbox-session
diff --git a/Makefile.am b/Makefile.am
index b4765dc..ebd7840 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1 +1,5 @@
-SUBDIRS = data icons \ No newline at end of file
+SUBDIRS = data icons
+
+EXTRA_DIST = matchbox-session
+
+bin_SCRIPTS = matchbox-session \ No newline at end of file
diff --git a/matchbox-session b/matchbox-session
new file mode 100755
index 0000000..32a5649
--- /dev/null
+++ b/matchbox-session
@@ -0,0 +1,24 @@
+#!/bin/sh
+#
+# Very simple session manager for matchbox tools
+#
+
+# Uncomment below to enable parsing of debian menu entrys
+# export MB_USE_DEB_MENUS=1
+
+if [ -e $HOME/.matchbox/session ]
+then
+exec $HOME/.matchbox/session
+fi
+
+if [ -e /etc/matchbox/session ]
+then
+exec /etc/matchbox/session
+fi
+
+# Default files to run if $HOME/.matchbox/session or /etc/matchbox/session
+# dont exist.
+
+mbdesktop &
+mbdock --orientation south &
+exec matchbox $@