Open
Description
Describe the bug
When I am using azote with the "Use generic display names" feature, it doesn't set the background for my laptop's built-in display. Running .azotebg
it gives me this:
❯ ./.azotebg
2022-06-17 10:52:50 - 2022-06-17 10:52:50 - [swaybg/main.c:256] Could not find config for output eDP-1 (Sharp Corporation 0x1516)
[swaybg/main.c:256] Could not find config for output eDP-1 (Sharp Corporation 0x1516)
2022-06-17 10:52:50 - 2022-06-17 10:52:50 - [swaybg/main.c:260] Found config Dell Inc. DELL S2817Q J42MC74R273M for output DP-8 (Dell Inc. DELL S2817Q J42MC74R273M)[swaybg/main.c:256] Could not find config for output DP-8 (Dell Inc. DELL S2817Q J42MC74R273M)
My .azotebg
at the moment is:
❯ cat ./.azotebg
#!/usr/bin/env bash
pkill swaybg
swaybg -o 'Dell Inc. DELL S2817Q J42MC74R273M' -i "/home/zdonca/Pictures/wallpaper/swaying_tree_to_right.png" -m fill &
swaybg -o 'Sharp Corporation 0x1516 Unknown' -i "/home/zdonca/Pictures/wallpaper/swaying_tree_to_right.png" -m fill &
And my outputs are:
❯ swaymsg -t get_outputs
Output eDP-1 'Sharp Corporation 0x1516 Unknown'
Current mode: 3840x2400 @ 59.994 Hz
Position: 2560,0
Scale factor: 2.000000
Scale filter: nearest
Subpixel hinting: unknown
Transform: normal
Workspace: 2
Max render time: off
Adaptive sync: disabled
Available modes:
3840x2400 @ 59.994 Hz
3840x2400 @ 47.995 Hz
Output DP-8 'Dell Inc. DELL S2817Q J42MC74R273M' (focused)
Current mode: 3840x2160 @ 59.996 Hz
Position: 0,0
Scale factor: 1.500000
Scale filter: linear
Subpixel hinting: unknown
Transform: normal
Workspace: 0:
Max render time: off
Adaptive sync: disabled
Available modes:
3840x2160 @ 59.996 Hz
3840x2160 @ 29.981 Hz
1920x2160 @ 59.988 Hz
...
If I run swaybg without the word "Unknown" in the name of the output, it actually works.
To Reproduce
Steps to reproduce the behavior:
- Have an external display connected to my laptop.
- Run Azote, and check the "Use generic display names" checkbox.
- Apply the backrounds.
- Notice that the built-in display doesn't have a background set.
Expected behavior
My built-in display should have a background set when using the "Use generic display names" feature. I need this feature because the id of my external monitor doesn't stay consistent for whatever reason, and it varies between DP-5 and DP-8.
Desktop (please complete the following information):
- Arch Linux
- Latest development builds of sway and wlroots.
Azote version (please state it clearly if you use -git version):
❯ pacman -Qi azote
Name : azote
Version : 1.9.4-1
Metadata
Assignees
Labels
No labels