alex-courtis / way-displays

way-displays: Auto Manage Your Wayland Displays
MIT License
252 stars 13 forks source link

Feature: ORDER_LAST #46

Closed alex-courtis closed 1 year ago

alex-courtis commented 2 years ago

https://www.reddit.com/r/swaywm/comments/ruhc0t/best_way_to_have_monitor_of_unknown_size_above_a/hqzkeng/?utm_source=reddit&utm_medium=web2x&context=3

Order after all other monitors, allowing to be ordered after unknown.

wdv4758h commented 1 year ago

I just start trying way-displays. It works great and simple, thanks! And I'm thinking about exactly this feature. For now, I simply add DP-1 DP-2 DP-3 ... and then eDP-1 in the last. Which is good enough for my laptop and most of the scenario. But a way to define more generic order is a plus.

alex-courtis commented 1 year ago

Order last may be achieved via a regex in ORDER

If the need arises, an explicit "middle marker" could be added: https://github.com/alex-courtis/way-displays/pull/68#issuecomment-1445561777