Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- DISPLAY=:2
- WINEPREFIX="/home/metall/.wine"
- X_PID=$(ps ax | awk '$5 ~ /\/usr\/bin\/X/{ if($0 ~ /:0/) print $1 }') # '
- [ "$X_PID" -gt 0 ] && sudo X $DISPLAY -ac -terminate -config xorg.conf vt6 -novtswitch & sleep 5
- nice -20 wine C:\\windows\\command\\start.exe /Unix \
- "/home/metall/.wine/drive_c/Games/All-CS 1.6 Final/hl.exe" \
- -game cstrike -steam
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement