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
759 stars 54 forks source link

Monitor eDP-1 does not have a target! A wallpaper will not be created. #154

Closed grszik closed 6 months ago

grszik commented 6 months ago

Hello, I've been using hyprpaper for some time now and suddenly when I plugged my second monitor (for the first time) the wallpaper stopped displaying and when running hyprpaper in console i was just getting two warnings:

[WARN] Monitor eDP-1 does not have a target! A wallpaper will not be created.
[WARN] Monitor DP-2 does not have a target! A wallpaper will not be created.

From this time on, the wallpaper is not displaying with the first warning, since I'm not using the second monitor. My config:

preload = ~/WALL.png
wallpaper = eDP-1,~/WALL.png
wallpaper = DP-2,~/WALL.png

What's interesting is that if I set the wallpaper and preload with hyprctl it works just fine. I'm using those commands:

hyprctl hyprpaper preload ~/WALL.png
hyprctl hyprpaper wallpaper eDP-1,~/WALL.png

The entire thing that shows when running hyprpaper:

[LOG] Welcome to hyprpaper!
built from commit  ()
[LOG] Using config location /home/grosik/.config/hypr/hyprpaper.conf.
Error in config:
Config error at line 1: Invalid config line
[LOG] hyprpaper socket started at /tmp/hypr/1c460e98f870676b15871fe4e5bfeb1a32a3d6d8_1711471715/.hyprpaper.sock (fd: 4)
[WARN] Monitor eDP-1 does not have a target! A wallpaper will not be created.
vaxerski commented 6 months ago

update hyprlang and hyprpaper