DadSchoorse/vkBasalt

vkBasalt.conf using a path without a username does not work

RickAndTired opened this issue · 2 comments

vkBasalt.conf using a path without a username does not work
Vibrance = ~/Documents/Shaders/Vibrance.fx
I also tried /home/$USER/Documents/Shaders/ and $HOME/Documents/Shaders/

I get this error
vkBasalt err: failed to load shader file: ~/Documents/Shaders/Vibrance.fx

Typing out the path with username works for example:
/home/rick/Documents/Shaders/Vibrance.fx

I would like to make a vkBasalt.conf that can work on any user account, is that possible?

I think this is typically because bash is the one which is responsible for expanding ~ to your current user's home directory. This could be added, though. Lots of applications will expand this for you too. I might give it a look.

Tangential, but if you want something usable by multiple different users, it makes more sense to install your shaders to a shared location like /etc or /usr/local