summaryrefslogtreecommitdiff
path: root/play.sh
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-06-14 23:01:27 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-06-14 23:01:27 +0200
commit4bb7847fcea402970380c581428ccd17794e0a26 (patch)
treee1b4c1d9a6facd4221457eed6ff4e281276ec7bb /play.sh
parent263bfe814467adf29183e72fb7ded9981495ed25 (diff)
downloadplay-4bb7847fcea402970380c581428ccd17794e0a26.tar.gz
play-4bb7847fcea402970380c581428ccd17794e0a26.tar.bz2
play-4bb7847fcea402970380c581428ccd17794e0a26.zip
Added fallout ... and x11args
Diffstat (limited to 'play.sh')
-rwxr-xr-xplay.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/play.sh b/play.sh
index 054b42b..3c8a4ed 100755
--- a/play.sh
+++ b/play.sh
@@ -50,6 +50,7 @@ else
local prefix="~/.wine/"
local gpath size args
+ local x11args
steam () {
prefix="~/.steam/"
@@ -61,6 +62,7 @@ else
typeset -A games
games[bg2]='gpath=c:/spiele/bg2/baldur.exe; size=1024x768'
+ games[fallout]='prefix=~/.fallout/; gpath=c:/spiele/fallout/falloutw.exe; size=800x600; x11args="-depth 16"'
games[steam]='steam'
if [[ -z $games[$game] ]]; then
@@ -74,5 +76,5 @@ else
eval $games[$game]
fi
- exc -f startx $0 -x $prefix $gpath $size "$args" -- :1 -ac -br -quiet
+ exc -f startx $0 -x $prefix $gpath $size "$args" -- :1 -ac -br -quiet ${=x11args}
fi