For those who wants to launch .pvsm files with the dark theme under windows:
Create a .bat file and add the following
@echo off
set pvsm_file=%1
"<path_to>\paraview.exe" -style=fusion -stylesheet="<path_to>\style.qss" "%pvsm_file%"
Set the .bat file as the default program:
- Right-click on any
.pvsmfile, select Open With > Choose another app. - Select More apps and then Look for another app on this PC.
- Navigate to your
.batfile and select it. - Check Always use this app to open .pvsm files and click OK.