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

FRE: Configurable dynamic actions #18

Open
MarcinOrlowski opened this issue Mar 13, 2021 · 2 comments
Open

FRE: Configurable dynamic actions #18

MarcinOrlowski opened this issue Mar 13, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@MarcinOrlowski
Copy link

Hi, I use 3x2 grid myself and I often would like some app to take 2x2 area while 1x2 remains for other apps (i.e. terminals etc). I got no experience writing kwin scripts yet, so this may be simply no doable but is there any way to get rid of all predefined actions and have them set up dynamically? One thing is that my shortcuts settings are featuring options for grids I do not care (i.e. 4x2) so that would clean them up a bit. But that's minor problem, as once you set it all up you do not care these settings. But I'd like to have more options as said: 3x2 (left/right), 2x3 (top/bottom), 1x3 (top/bottom). If that's not possible/east to be added dynamically, could you please add these actions?

@lucmos
Copy link
Owner

lucmos commented Mar 13, 2021

Hi,
Thank you for the feedback!

I agree that configurable shortcuts would be great!
I'd also like to improve this aspect; in particular, I'm not too fond of the user experience with a second monitor in a vertical orientation (e.g., maybe introducing a horizontal/vertical symmetry in the shortcuts)

I'm not experienced in kwin scripts/UI stuff. I think that with a configuration file under ~/.config/ultrawidewindows it should be easily doable (even though it's a hacky solution).

At the moment, I don't have time to invest in this, but sooner or later it will have an overhaul (I still use this script daily)

@lucmos lucmos added the enhancement New feature or request label Mar 13, 2021
@MarcinOrlowski
Copy link
Author

MarcinOrlowski commented Mar 14, 2021

As quick hack, I edited ~/.local/share/kwin/scripts/ultrawidewindows/contents/code/main.js and commented out all grids but 3x2. That's solves my "crowd" problem. Also I figured out that 3x2 (left/right) and other I requested are already there but with bit cryptic names like "Move window to fit down-left 2/3 width" so once I assigned shortcuts to these I am now pretty good. Till next update :)

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

No branches or pull requests

2 participants