DadSchoorse / vkBasalt

a vulkan post processing layer for linux
zlib License
1.24k stars 52 forks source link

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

Open RickAndTired opened 1 year ago

RickAndTired commented 1 year ago

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?

twokilohertz commented 1 year ago

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.

jn64 commented 9 months ago

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