nwg-piotr / azote

Wallpaper manager for wlroots-based compositors and some other WMs
GNU General Public License v3.0
366 stars 25 forks source link

Set screens with wildcard [FEATURE REQUEST] #180

Closed xi-pinmping closed 1 year ago

xi-pinmping commented 1 year ago

I have noticed when connecting to my dock after boot, my displays show up as a higher increment, i.e. DP-4 and DP-5 become DP-6 and DP-7 after disconnect and reconnect. As you can imagine it makes it kind of annoying if you want to retain a background instead of it being gray.

Something swaybg did that I liked was allowing the wildcard to be used to select all displays to set the background on all. This would hopefully prevent incremented device names from being excluded from the wallpaper.

Obviously the easy answer would be set wallpapers for a bunch of number but this is kind of hacky, and using azote to correct the behavior results in me needing to set the bg AGAIN at the next normal boot with the lowest increments of monitor names.

Loving the easy to manage interfaces though, very intuitive and efficient imo. Keep up the A+++ work!

nwg-piotr commented 1 year ago

Hi,

I've never tested it in real life, as my lappy has no Thunderbird port, but this option was added to resolve the issue w/ changing display names:

image

However, there was some change in the way sway creates these names, and I'm not sure if I updated Azote to reflect it. I need to check.

[edit] See: #181

xi-pinmping commented 1 year ago

This is the behavior I was looking for, tested on my thinkpad dock and works like a charm. Thanks a ton!