Skip to content

Instantly share code, notes, and snippets.

@benkulbertis
Last active December 11, 2015 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benkulbertis/4652347 to your computer and use it in GitHub Desktop.
Save benkulbertis/4652347 to your computer and use it in GitHub Desktop.
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