Replies: 1 comment 3 replies
-
Hm. I see the problem. I'm just thinking that it might complicate the layout code quite a bit. Especially once you set always-center, and then resize the window big enough that it touches one side of the screen before the other. Now it can no longer easily behave as always-center, which sounds quite painful to deal with.. |
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
-
I have a ultrawide screen with a second vertical screen next to it. Here's a preview of the monitor layout as showed by KDE's monitor config:
Because of this I have the monitors layed out so I sit to the left of the ultrawide monitor:
When I only have a single window open and press Mod+C to get it centered (triggering
center-column
action) the window is not right in front of me, but instead slightly to the right.This is a very niche issue, I know 😅 but it would be nice to be able to configure what counts as "center of the screen" for the
center-column
action and thecenter-focused-column
layout config. This would then also be a per-monitor setting for heterogeneous monitor setups.How I imagine it is configs like:
For the positioning logic, it would have some simple clamping to make sure windows are not moved outside the monitor. Pseudo-code:
Beta Was this translation helpful? Give feedback.
All reactions