Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature idea: being able to select multiple windows to resize a window to cover all the selected windows #27

Open
imthenachoman opened this issue May 22, 2023 · 3 comments

Comments

@imthenachoman
Copy link

When you open Exquisite, it shows you all the layouts and windows in each layout.

It would be cool if you could select multiple windows in a layout to resize a window to cover all the selected windows.

Using my layouts as an example:

image

The 4th one is a 4x4 grid. If I could select the windows starting from 2x2 to 3x3, then Exquisite would resize the window accordingly.

Or, the 2nd one is a 1:2:1 layout. If I could select the 2nd and 3rd column, the window would size to cover both of those.

This could be done by either SHIFT clicking or click + dragging the mouse.

The beauty of this is, we could create a few grid layouts like 4x4, 6x4, 8x4, etc... and then use this feature to dynamically size windows as you need when you need.

@imthenachoman imthenachoman changed the title feature idea: being able to select multiple windows to resize a window to cover all the selected zones feature idea: being able to select multiple windows to resize a window to cover all the selected windows May 22, 2023
@imthenachoman
Copy link
Author

imthenachoman commented May 22, 2023

To add more details, using the below image:

image

  • You'd start selecting the window labeled 1
  • You'd end selecting the window labeled 2
  • The end result is your application sizes to take up the windows inside the red box.

@qewer33
Copy link
Owner

qewer33 commented May 23, 2023

Nice idea, could be doable if I find a way to get modifier keys to work (KWin doesn't provide a direct way to get keyboard inputs from scripts). In the meanwhile, you can take a look at this extension (https://github.com/pudymody/kde-manualtiling), which is a simple extension that only does what you described.

@imthenachoman
Copy link
Author

@qewer33 Can it get mouse down and mouse up events? So a user could click and hold on the top left, and then drag to bottom right. Would that work?

I will check out that other extension. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants