Skip to content

Config output id doesn't match swaybg #7172

Description

@yorickvP

Please fill out the following:

  • Sway Version: 1c368fb

  • Configuration File:

# needed for position to work
output "HYC CO., LTD.  Unknown" {
   bg /home/yorick/wp/beyond-4k-2560×1440.jpg fill
   position 0 0
}
# needed for bg to work
output "HYC CO., LTD.  " {
   bg /home/yorick/wp/beyond-4k-2560×1440.jpg fill
   position 0 0
}
$ swaymsg -t get_outputs
Output DVI-D-1 'HYC CO., LTD.  Unknown'
$ swaybg
2022-09-15 09:55:00 - [main.c:260] Found config HYC CO., LTD.  for output DVI-D-1 (HYC CO., LTD. )
  • Description:
    Handle NULL output make/model/serial #7031 changed the output description that's used to match config sections, but didn't update the wl_output::description that's used in swaybg. This causes a mismatch between these settings, causing the bg not to show in some cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions