summaryrefslogtreecommitdiff
path: root/meta/packages/matchbox-sato/matchbox-session-sato/session
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/matchbox-sato/matchbox-session-sato/session')
-rw-r--r--meta/packages/matchbox-sato/matchbox-session-sato/session15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/packages/matchbox-sato/matchbox-session-sato/session b/meta/packages/matchbox-sato/matchbox-session-sato/session
new file mode 100644
index 000000000..010772a8c
--- /dev/null
+++ b/meta/packages/matchbox-sato/matchbox-session-sato/session
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+. /etc/formfactor/config
+
+if [ "$HAVE_TOUCHSCREEN" = "1" ]; then
+ SHOWCURSOR="no"
+else
+ SHOWCURSOR="yes"
+fi
+
+matchbox-desktop &
+
+matchbox-panel --titlebar --start-applets showdesktop,windowselector --end-applets clock,battery,systray,startup-notify,notify &
+
+exec matchbox-window-manager -theme Sato -use_desktop_mode decorated -use_cursor $SHOWCURSOR $@