swaylock icon indicating copy to clipboard operation
swaylock copied to clipboard

Support output IDs

Open wille opened this issue 6 months ago • 4 comments

I need to support targeting the output with the output identifier (Dell Inc. DELL U3223QE GB6Y9P3) rather than just the output name (eg. DP-6) because the output name might change every time I replug my monitors and I want my internal OLED display to have no image while my external monitors should have a nice image.

Example: swaylock -f -c 000000 --image "Dell Inc. DELL U3223QE GB6Y9P3":~/Pictures/1.jpg -d

The wl_output_description returns the full model, make and output name so I am trimming the output name from the output description to match kanshi and sway output id matching.

wille avatar Aug 01 '24 08:08 wille