summaryrefslogtreecommitdiff
path: root/templates/steam
blob: 25162775d22692160fe6533516a0be622aa38a82 (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
25
if loaded wine; then
    PREFIX="steam"
    #SIZE="1280x960"
    GPATH="c:/program files/steam/steam.exe"

    steamapp () {
        [[ $# -gt 0 ]] && export ARGS="-applaunch ${=@}"
    }
else
    GPATH=steam
    SIZE=1680x1050

    steamapp () {
        [[ $# -gt 0 ]] && export ARGS="steam://rungameid/$1"
    }

    # force cleanup -- yields a normal shutdown
    steam_cleanup () {
        [[ $1 == force ]] && exc steam -shutdown
    }

    OVERRIDE cleanup
fi

# vim:ft=sh