summarylogtreecommitdiffstats
path: root/pantheon-session-qq
blob: c5ad07fba7e8dc1bf711b45d3f424e8520cc122a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

export {XDG_{CURRENT,SESSION}_DESKTOP,DESKTOP_SESSION}=Pantheon
if [ -n "$1" ]; then
  case $1 in
    lite) # Reduced resource usage with openbox in place of gala
      exec gnome-session --session pantheon-openbox
    ;;
    3d) # Improved functionality and decor with compiz in place of gala
      exec gnome-session --session pantheon-compiz
    ;;
    *) # Other custom sessions
      exec gnome-session --session pantheon-$1
    ;;
  esac
else
  exec gnome-session --session gnome-shell
fi