grout
grout copied to clipboard
Full Keyboard support
Hey! Thanks for grout! I am wondering, if a "full keyboard mode" would be possible. I am thinking about something like:
- Hotkey to show grout controls
- Numbered or lettered "areas" e.g. 1,2,3,4 on a 2x2 Layout, type number/letter
- To select multiple areas, type Shift + Number/letter
This would work properly for 3x3 Grids with numbers.
Thanks for the feature request! The biggest issue I see here is that you can't assign to more than 9 zones (3x3 grid) using numbers. I'm hesitant to try and implement a solution that doesn't work for all configurations.
What about using the arrow keys to move / resize the window along the grid? The problem I see here is that I can't capture the arrow keys once focus is moved away from the grid to a window. So initially it'll work, but if you alt-tab to another window, or click on a window, the keyboard based movements will no longer work. Unless I make this mode aggressively steal back focus to always capture key inputs until disabled.
This would be a great improvement! I would suggest not using numbers but letters, this would maybe be easier and you can have 26 zones. If more zones are needed you could start using two letters.
Maybe use two key presses: one for the uppler left corner, one for the lower right corner. Here is an example.
To move a window to the highlighted area I would simply enter "bt".
But I can see your argument that this could only work for the "show grid, enter coordinates, hide grid" scenario.
I'd like to suggest user-predefined-area shortcuts rather than trying to cover all the box combos. It's based on the idea that there is a small subset of areas that cover most of your needs, so you can map those an easier to remember set of shortcuts It's also mostly focused on a a single/couple of apps rather than the more complicated positioning of multiple apps at once, though that's for me also the most common use case, so it's in general much faster
For example:
Win` for a hotkey_quick_resize
Then press either of these:
- f to go fullscreen
- t8 to move to the top 80% of the screen
- l3 to move to the left 30% of the screen
- l left 50% of the screen (though only after some timeout since there is also l3, so need to wait whether a user pressed the second key). This might be unnecessary complication, so fine to drop and disallow such ambiguous mapping
- d to move the window to a shape that in a 10×10 grid is skipping top 2 rows and right-most 2 columns
- etc.
Would also be great if you could mark some shortcuts are requiring "hints" that would show in the grid (e.g. you'd likely never need a hint that f is fullscreen, but for something a bit more rarely/not yet memorized you might)