Last active
December 11, 2015 19:59
-
-
Save benkulbertis/4652347 to your computer and use it in GitHub Desktop.
My Starcraft II Wine Launcher
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice bro!