Open etrnal70 opened 2 years ago
Use $HOME
instead of ~
Using $HOME
also give the same error
2021-09-03 06:20:07 - [effects.c:374] Compose effect: Failed to load image file '$HOME/Data/wallpaper/output.png' (Failed to open file “$HOME/Data/wallpaper/output.png”: No such file or directory).
Is it a bash script? If not, you'll be able to get the environment variable through your specific language if it supports it
I'm using a config file in $HOME/.config/swaylock/config
Using
~/image/image.png
result in[effects.c:374] Compose effect: Failed to load image file '~/image/image.png' (Failed to open file “~/image/image.png”: No such file or directory).
But using full path like
/home/user/image/image.png
worksImage path works though using ~