anufrievroman / waypaper

GUI wallpaper manager for Wayland and Xorg Linux systems
https://anufrievroman.gitbook.io/waypaper
GNU General Public License v3.0
277 stars 11 forks source link

fix: hyprpaper first launch not setting wallpaper correctly #47

Closed nikolaizombie1 closed 1 month ago

nikolaizombie1 commented 1 month ago

I noticed a bug where there was not enough of a delay when changing wallpapers for the first time when hyprpaper was not already running that caused the wallpapers to be preloaded and set when the hyprpaper daemon was not yet loaded. I fixed this by checking if the hyprpaper process is already running and if not launch hyprpaper and put a 1 second delay to ensure that the wallpaper is set correctly.

This fixes an bug introduced in #45