Fmstrat / wintile

Windows 10 window tiling for GNOME
GNU General Public License v3.0
435 stars 55 forks source link

Resolution/screen-dependent amount of columns? #45

Closed nekohayo closed 1 year ago

nekohayo commented 3 years ago

I have two monitors: one at 2560x1080 and one at 1920x1080. In the first case it makes sense to have three tiling columns sometimes (but sometimes not, depending on the application!) and on the other (1920x1080) monitor it pretty much never makes sense for me to triple-tile.

Ideally I'd like this extension to be able to have per-screen-width columns.

And potentially, alternatively, configurable keyboard shortcuts. For example I would like to continue to use Super+left/right to half-tile on any screen, and use some other keyboard shortcut (Super+1/2/3 ?) to tile in thirds (ex: Super+2 to tile to the center third of the current screen), though it seems as if GNOME Shell is already using those shortcuts for something (switching between windows somehow)...

atticusrussell commented 2 years ago

I have this same issue. As a windows 10 (with custom Fancyzones) to linux convert finding this extension was a godsend for my ingrained habits when it comes to intuitive shortcuts for window management.

However, I have this same issue because I use multiple displays including a 3440x1440 ultrawide, 1080p laptop, and a vertical 1080p monitor, and am missing the custom zones that i had set for them on Fancyzones on Win10. Because I have selected 3 columns wide in Wintile for the sake of the ultrawide, snapping to just two columns on the laptop screen is a bit of a fuss/manual process.

This honestly doesn't cause a huge issue with the vertical display, as it is not as bad to split in half across the middle, as I can just manipulate with the arrow keys until it does what I want, despite the three column setting.

Some sort of a per-monitor setting for number of columns desired would be amazing.

GrylledCheez commented 1 year ago

Ultrawide-only mode added in #109

This will make any monitor with a ratio of less than 1.9 be forced to 2x2 grid. We might allow 3x2 mode if there's a want for it.

Let me know if there are any issues with it.