diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2013-02-15 12:34:32 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2013-02-15 12:34:32 +0100 |
commit | 933a93e4a71591e867182999a7daf8ae3bad5596 (patch) | |
tree | b2969a0ccd0d050a8288ffc72756be2c94975de5 /templates/no-x | |
parent | 2dfc64f9f3137cd7522b32a55e6cbcaa672492f6 (diff) | |
download | play-933a93e4a71591e867182999a7daf8ae3bad5596.tar.gz play-933a93e4a71591e867182999a7daf8ae3bad5596.tar.bz2 play-933a93e4a71591e867182999a7daf8ae3bad5596.zip |
Major overhaul: Support non-wine games
* Moved wine support to own template
* Added xpad template
* Added no-x template for games that don't support being started
on another X.
* Improved ways template functions work together:
- EXPORT now appends
- OVERRIDE replaces all the others
- in game: command 'super' to call the phases of the templates
- super supports "-r tpl" to remove the phase function of tpl
Diffstat (limited to 'templates/no-x')
-rw-r--r-- | templates/no-x | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/no-x b/templates/no-x new file mode 100644 index 0000000..e811e85 --- /dev/null +++ b/templates/no-x @@ -0,0 +1,12 @@ +unset "ENV[DISPLAY]" + +no-x_startX () { + exc $BIN --in-X $GAME +} + +no-x_setupX () { +} + +OVERRIDE startX setupX + +# vim:ft=sh |