hyprpaper
hyprpaper copied to clipboard
Switching wallpapers causes hyprpaper crash
I used a bash script to switch wallpaper using hyprpaper on workspace switches, but after a few switches the hyprpaper crashed, leaving the error message below:
[LOG] Submitting viewport dest size 1504x1002 for 68001890 [LOG] handlePreferredScale: 1.50 for 7ff768001890 zwlr_layer_surface_v1@52: error 0: wrong configure serial: 45405
Version: built from master WM: Hyprland, built from master bundled with HIDPI patched wlroots. It happens on both Arch Linux and NixOS.
Is this the same issue I had in #45 ? What happens if you insert a delay of say 0.5s between switches?
I've this problem too and I just wrote a systemd
service file to have hyprpaper
always restart after it crashes:
[Unit]
Description=Hyprpaper
[Service]
ExecStart=/usr/bin/hyprpaper
Restart=always
[Install]
WantedBy=default.target
Then
systemctl enable --user hyprpaper; systemctl start --user hyprpaper
This has to be delayed by a bit after the user logs in