varietywalls / variety

Wallpaper downloader and manager for Linux systems
http://peterlevi.com/variety
GNU General Public License v3.0
1.12k stars 137 forks source link

Add support for hyprpaper + add tool to manage wayland and socket #654

Closed cylian914 closed 8 months ago

cylian914 commented 8 months ago

add support for Hyprpaper, add WlOutput to list the monitor and ssock (for simple socket) to manage hyprpaper socket without hyprctl (can't be use when hyprland is not run). Compile instruction are in file and i also left the binary.

jlu5 commented 8 months ago

Sorry, embedding C code inside set_wallpaper is a hard no from me. This makes the project much less portable, and it's not entirely clear to me what the different components here do. (Also, adding binary blobs to Git repos is not a good practice for the same portability reason)

If the requirement is checking that hyprland is running before running hyprctl, would it not be sufficient to check that its environment variable is set, and then run the relevant hyprctl commands?