3 if command -v winetricks && pacman -Qi wine &>/dev/null && [ -e ~/.wine ]; then
4 echo "dependency check successful"
6 echo "please install wine, winetricks and create a wineprefix"
10 if ! checkinternet; then
11 echo "internet is required"
16 cd ${WINEPREFIX:-.wine}
17 cd drive_c/windows/Resources/Themes
20 wget -O 'Windows 10.msstyles' http://winetheme.surge.sh/wine.msstyles
23 winetricks settings fontsmooth=rgb
25 # user has to manually set that up in the gui
26 zenity --info --text "when the next window pops up, click on Desktop-integration and select windows 10 as a theme, then click ok"
29 # did the user apply the theme?
30 if ! grep -q 'Windows 10' ~/.wine/user.reg; then
31 zenity --info --text "you didn't do it, did you? Try again, last chance"
33 zenity --info --text "Well I told you what to do, I'll leave you alone now"