Hi, sorry for the delay. I run it in the shortcut as
optirun /usr/share/playonlinux/playonlinux --run "Heroes of the Storm" %F
or
optirun /usr/share/playonlinux/playonlinux --run "Battle.net" %F
For now, I'm running playonlinux from the command with :
optirun playonlinux
and it seems to work, so the NVidia card stays on, but I would like to know if there is a way that the discrete card only starts when I run the game.