Skip to content

Instantly share code, notes, and snippets.

@benkulbertis

benkulbertis/starcraft.sh

Last active Dec 11, 2015
Embed
What would you like to do?
My Starcraft II Wine Launcher
#!/bin/bash
xrandr --output DVI-I-3 --off
env LD_LIBRARY_PATH="/usr/lib32/:/usr/lib/" WINENOPULSE=1 wine ~/.wine/dosdevices/c\:/Program\ Files/StarCraft\ II/Starcraft\ II.exe
while [ "$(pidof SC2.exe)" -o "$(pidof Blizzard\ Launcher.exe)" ]; do
sleep 1
done
xrandr --output DVI-I-3 --auto --right-of DVI-I-2
wineserver -k
@nickbudi

This comment has been minimized.

Copy link

@nickbudi nickbudi commented Jan 28, 2013

Nice bro!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment