Hi, I have a problem with hyprpaper when using IPC commands(hyprctl hyprpaper ....)
Sometimes it does work (I'm using the suggested bash script from the wiki page to choose a random wallpaper from a directory), but if I run it twice, even with a sleep time between them, I get this error
Couldn't connect to /run/user/1000/hypr/390a357859e702b6416194291e0eb168270d50ac_1747213449_1618663243/.hyprpaper.sock.
(on nixos unstable)
And I also tried replacing the
hyprctl hyprpaper reload ,"$WALLPAPER"
with
hyprctl hyprpaper preload "$WALLPAPER"
sleep 1
hyprctl hyprpaper wallpaper ,"$WALLPAPER"
sleep 1
hyprctl hyprpaper unload "$CURRENT_WALL"
But it still gives me the same error when running it twice
(tried it both with the flake and the nixpkgs version)