Closed careb0t closed 4 weeks ago
Well you have 2 Problems.
curl -o "images/$name.jpg" "$url" 2>/dev/null
so that curl does not print stuff.
Second, I would hardcode the path for images to /tmp/images
or smth like that, since your current working directory will be different when ran by hyprlock.I think this issue can be closed.
hyprlock.conf:
I'm trying to have my Spotify album art load on the lockscreen, but for some reason
reload_cmd
is not updatingpath
with the filepath that the script outputs. For example, I can run the script myself and paste the output into path (ex:/home/careb0t/scripts/albumart/images/ab67616d0000b273590bbc64f2f84baca946b0f8.jpg
), but whenever I leave the path blank for the script to update it, the image is never rendered.If it matters, this is the script: