hyprwm / hyprpaper

Hyprpaper is a blazing fast wayland wallpaper utility with IPC controls.
https://wiki.hyprland.org/Hypr-Ecosystem/hyprpaper/
BSD 3-Clause "New" or "Revised" License
773 stars 54 forks source link

Hyprpaper IPC not finding files #134

Closed coding-agent closed 8 months ago

coding-agent commented 8 months ago

This issue seem to be with hyprpaper IPC command preload to find files.

echo 'preload ~/path/to/file.jpg'|socat - "/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.hyprpaper.sock"

Expected output:

ok

Actual output;

no such file: /home/user/path/to/file.jpg'

Keeping in mind the path it returns as not found is actually the path to an existing file.

There are no issues with wallpaper and unload commands

coding-agent commented 8 months ago

I was able to resolve this issue in a project here using zig lang and from what I've seen it should be working fine. I am still unsure as why it is not working with socat but I think this issue in not relevant to hyprpaper hence I'm closing it.