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
802 stars 57 forks source link

Add handler "reload" to do a change of wallpaper by one hyprctl exec #173

Closed barrrguzin closed 5 months ago

barrrguzin commented 5 months ago

Add handler "reload" to do a change of wallpaper by one hyprctl execution. Handler gets the string with monitor name and path to wallpaper: "MON, /tmp/pic.png"

vaxerski commented 5 months ago

whats the use though?

barrrguzin commented 5 months ago

unload previous picture, load next one and display it on screen by using 3 calls on hyprctl its too long sequence to change the wallpaper. i dont see examples of wallpaper changing script that preload all pictures from folder and than change it by "wallpaper" command, i concluded that the most of people use 3 command sequence in their scripts. so, this handler can be used instead of 3 separated, its more user friendly, and faster

barrrguzin commented 5 months ago

keyword description added: https://github.com/hyprwm/hyprland-wiki/pull/662