jarcode-foss / glava

GLava - OpenGL audio spectrum visualizer
GNU General Public License v3.0
1.17k stars 59 forks source link

referencing a shader gives "No Module Selected..." error #224

Closed clod44 closed 2 years ago

clod44 commented 2 years ago
$ glava -d

works fine. I can edit the rc.glsl file and it applies. but I want to run multiple visualizers so I need to create multiple files and run glava with those files.

$ glava -d -e ~/.config/glava/customCircleConfig.glsl 
No module was selected, edit '/home/sayochi/.config/glava/customCircleConfig.glsl' to load a module with `#request mod [name]`

customCircleConfig.glsl contains #request mod circle.

In fact, I can't even run the default file via referencing it:

$ glava -d -e ~/.config/glava/rc.glsl 

also tried with complete path. what am I missing?

clod44 commented 2 years ago

I feel really bruh about this but the solution is directly using the name of the file, not the path to it.

glava -d -e customCircleConfig.glsl