https://bugs.winehq.org/show_bug.cgi?id=5382
--- Comment #32 from Bamm Gabriana bammgabriana@gmail.com --- (In reply to Nikolay Sivov from comment #31)
You might as well have some startup script that's using WINEPREFIX variable instead of hardcoded $HOME/.wine. I don't think we need this in wineboot to run automatically.
Exactly my point. My script does have a
export WINEPREFIX={WINEPREFIX:-$HOME/.wine}
If it were just for me I can simply do that to all my wine prefixes if/when ever I change themes.
But I am looking at this as a way that users can run an app in Wine and it automatically shows up in the current desktop color theme.
If a user runs
$ WINEPREFIX=/path/to/app/prefix wine /path/to/app
then it should show the correct theme colors.
My script would pick up the WINEPREFIX variable if it is started on wineboot, and write to the correct prefix.
But at this point, if a user changes themes, then he would have to run
$ WINEPREFIX=/path/to/app/prefix /path/to/my/script
on a wine prefix he has, before running an app on that prefix.
I'm looking for a way to automate this.
I'm sorry if I'm not explaining it well. English is not my first language.