aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormallum <mallum@b067294f-1dea-0310-9683-c47a78595994>2004-02-03 20:24:30 +0000
committermallum <mallum@b067294f-1dea-0310-9683-c47a78595994>2004-02-03 20:24:30 +0000
commit4e896d4af5e6bcdac50193b6d2be2eb064924186 (patch)
tree40e965d0ed39705433d18141048c1933f888bed6
parent2d35afef03b9acfc2068250cd8c38a7a1e5e58e6 (diff)
downloadmatchbox-common-4e896d4af5e6bcdac50193b6d2be2eb064924186.tar.gz
matchbox-common-4e896d4af5e6bcdac50193b6d2be2eb064924186.tar.bz2
matchbox-common-4e896d4af5e6bcdac50193b6d2be2eb064924186.zip
Added matchbox-session
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-common@667 b067294f-1dea-0310-9683-c47a78595994
-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 $@