-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
bugSomething isn't workingSomething isn't working
Description
swaybg does not seem to recognize the output name exactly as its returned by swaymsg:
❯ swaymsg -t get_outputs
Output eDP-1 'Sharp Corporation 0x1516 Unknown' (focused)
Current mode: 3840x2400 @ 59.994 Hz
Position: 0,0
Scale factor: 2.000000
Scale filter: nearest
Subpixel hinting: unknown
Transform: normal
Workspace: 1:
Max render time: off
Adaptive sync: disabled
Available modes:
3840x2400 @ 59.994 Hz
Now if I run swaybg with literally the same output name, it produces the below message and does not actually set the wallpaper:
❯ swaybg -o 'Sharp Corporation 0x1516 Unknown' -i "/home/zdonca/Pictures/wallpaper/swaying_tree_to_right.png" -m fill
2022-06-26 13:54:41 - [swaybg/main.c:256] Could not find config for output eDP-1 (Sharp Corporation 0x1516)
When omitting the word "Unknown" from the name, it actually works:
❯ swaybg -o 'Sharp Corporation 0x1516' -i "/home/zdonca/Pictures/wallpaper/swaying_tree_to_right.png" -m fill
2022-06-26 13:55:38 - [swaybg/main.c:260] Found config Sharp Corporation 0x1516 for output eDP-1 (Sharp Corporation 0x1516)
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.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working