Skip to content

Instantly share code, notes, and snippets.

@benkulbertis
Last active December 11, 2015 19:59
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
Copy link

Nice bro!

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