Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching wallpapers causes hyprpaper crash #42

Open
J4ckTh3R1pper opened this issue Feb 16, 2023 · 2 comments
Open

Switching wallpapers causes hyprpaper crash #42

J4ckTh3R1pper opened this issue Feb 16, 2023 · 2 comments

Comments

@J4ckTh3R1pper
Copy link

J4ckTh3R1pper commented Feb 16, 2023

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.

@2e0byo
Copy link
Contributor

2e0byo commented Feb 24, 2023

Is this the same issue I had in #45 ? What happens if you insert a delay of say 0.5s between switches?

@lenianiva
Copy link

lenianiva commented May 6, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants