LGFae / swww

A Solution to your Wayland Wallpaper Woes
GNU General Public License v3.0
2.17k stars 65 forks source link

Feature Request: Allow identifying outputs with desc: #185

Open cmargiotta opened 9 months ago

cmargiotta commented 9 months ago

Hello!

Problem On my PC, for some reason, identifiers like DP-2 or HDMI-A-1 keep changing and for this reason it is difficult to automatically set the wallpaper.

Solution On Hyprland I can identify my monitors using this kind of identifiers: desc:Samsung Electric Company C34H89x H4ZN200636 It would be useful to find this feature on swww too!

Anyway, thank you for this tool!

LGFae commented 9 months ago

Interesting, I didn't know that was possible.

tasmo commented 6 months ago

Hyprpaper is using it. Would be great to see it here as well.

grudgingly commented 4 months ago

Is this what 70e63d7 implements?

LGFae commented 4 months ago

@grudgingly, no. That just changes internal logic for identifying outputs according to the compositor's global ids.

cplir-c commented 2 months ago

Could you sort by the position in the output of wlr-randr | grep -P "Position|^[^ ]+" or something? I figure you're probably unplugging & re-plugging in displays regularly.