Support negative monitor indices in workspace rules for dynamic multi-monitor setups #12305
Unanswered
cmihail
asked this question in
Feature requests - Config
Replies: 1 comment 3 replies
-
|
I can try to implement this feature myself if it looks good. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature
Add support for negative monitor indices in workspace rules to enable dynamic multi-monitor configurations that adapt based on the number of connected monitors.
Currently, workspace rules use absolute monitor IDs:
This proposal would allow negative indices (counting from the end):
Behavior:
-1= last monitor,-2= second-to-last monitor, etc.monitor:0Examples:
With 3 monitors (IDs: 0, 1, 2):
monitor:-1→ monitor 2monitor:-2→ monitor 1monitor:-3→ monitor 0With 2 monitors (IDs: 0, 1):
monitor:-1→ monitor 1monitor:-2→ monitor 0monitor:-3→ monitor 0 (fallback)With 1 monitor (ID: 0):
monitor:-1→ monitor 0monitor:-2→ monitor 0 (fallback)Why would it be beneficial
This feature would solve the common use case where users have varying numbers of monitors in different setups (e.g., laptop with/without external displays, different docking stations).
Current problem:
Users must either:
With this feature:
A single static config would work across all setups:
This creates predictable, consistent workspace placement regardless of how many monitors are connected, improving the user experience for mobile/hybrid workflows.
Beta Was this translation helpful? Give feedback.
All reactions