FR: `force_split` separation between keyboard and mouse actions

Desired Behavior
I’d like to be able to do two things simultaneously for my dwindle layout:

  • (A) Always spawn new windows to the right/down when spawned from my keyboard
  • (B) When a window is dragged with the mouse to the top-left or top-right quadrant of my screen it stays there, and is not forced to the bottom-left or bottom-right (respectively) of my screen

If we look at dwindle’s force_split options below I see that condition (A) can be satisfied with force_split = 2 and condition (B) can be satisfied with force_split = 0.

name description type default
force_split 0 → split follows mouse, 1 → always split to the left (new = left or top) 2 → always split to the right (new = right or bottom) int 0

However, I can’t do both (A) and (B) simultaneously. There’s no such option for that. Is it possible? Is it worth it?

See related discussion thread:

Use
smart_split = true

It works as expected.

I tried smart_split = true but new window tiles spawn on whatever half of the screen my cursor resides in. If the cursor is on the left half of my screen and I open a new terminal it will spawn on the left half of the screen, when I want it to always spawn on the right (while maintaining the ability to move tiles to upper-left or upper-right quadrants of the screen with my mouse).

Yup, that was clear. Hence the link to the on-topic discussion I posted above.

The decision was made quickly here, based on that user’s preference:

I concur that this regressed the desired behavior.