Open zsolt-donca opened 2 years ago
swaybg uses a hack: it matches the output description. "Unknown" serial number has been removed from the output description in wlroots recently.
It's worth noting that this bug creates an inconsistency between the output names the output
command in Sway config expects depending on the options you use it with (I'm using @zsolt-donca's output names for the example):
# This works
output 'Sharp Corporation 0x1516 Unknown' scale 1.5
# But this doesn't
output 'Sharp Corporation 0x1516 Unknown' background picture.jpg
# So one has to do
output 'Sharp Corporation 0x1516' background picture.jpg
swaybg does not seem to recognize the output name exactly as its returned by swaymsg:
Now if I run swaybg with literally the same output name, it produces the below message and does not actually set the wallpaper:
When omitting the word "Unknown" from the name, it actually works:
Using the id of the output (
eDP-1
) also works. Using the name of my external displays also work (not connected above), the issue seems to be only with my laptop's built-in display's full name.My issue comes from azote, but I think the root cause is in swaybg.
I am using Arch Linux and the AUR package swaybg-git. At the moment of writing, my build is baesd on 69c03f6.