summarylogtreecommitdiffstats
path: root/pantheon-session-qq
blob: d34a50dfd4abf7d40c1cde45e5dff734df524690 (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

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
  ;;
  "") # Fallback to gnome-shell
    exec gnome-session --session gnome-shell
  ;;
esac