summaryrefslogtreecommitdiff
path: root/templates/default
blob: c8ab53f91afa79bdb78eb8a29a30a5d52a7d9c55 (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
26
27
28
29
default_setupX () {
#    exc nvidia-settings -l
#
#    play_setupX
    if [[ -n $SIZE ]]; then
        exc xrandr -s $SIZE --output DVI-I-3 --off
    else
        exc xrandr --output DVI-I-3 --off
    fi
}

default_setenv () {
    if loaded wine; then
        EENV[WINEPREFIX]='{ [[ -z $NO_WINEINSTS ]] && echo $HOME/.wineinsts/$PREFIX; } || echo $PREFIX'
    fi

    play_setenv
}

default_prepare () {
}

default_cleanup () {
}

EXPORT prepare cleanup
OVERRIDE setenv setupX

# vim:ft=sh