summaryrefslogtreecommitdiffstats
path: root/recipes/matchbox-sato/matchbox-sato/matchbox-session
blob: 65f1ce72ca09a797ea0dc137a85eda9b0681b3dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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. 

matchbox-desktop &
matchbox-panel  --orientation south &
exec matchbox-window-manager $@