SUMMARY Feature Request: Add a Global Shortcut for moving windows into the corner of the display * * * Currently I use 'Pack Window' Down/Left/Right/Up to move windows around the screen, however I often wish to place a window in the corner of the monitor. Example: If I want my window in the bottom-left corner, I have to do `Pack Window to the Left` + `Pack Window Down`. I would much prefer to have a shortcut for something like `Pack Window Bottom-Left` that I could assign to a single hotkey. KDE Plasma Version: 5.17.5 KDE Frameworks Version: 5.66.0 Qt Version: 5.14.1
I should add I am aware of the `Quick Tile` shortcuts that are available, but I am specifically looking for a solution that does __not__ change the window size.
I found what looks like the relevant code section; ``` void Workspace::slotWindowPackLeft() { if (active_client && active_client->isMovable()) active_client->packTo(packPositionLeft(active_client, active_client->frameGeometry().left(), true), active_client->y()); } ``` I think even though I am not a programmer I could cobble together a solution myself from this example with some trial and error, but figuring out the KDE dev environment & how the git system here works, etc is proving a bit confusing, the userbase articles and/or github instructions seems to take some knowledge for granted.
Here's the documentation: https://community.kde.org/Get_Involved/development Please don't hesitate to ask for help if anything's confusing--and then also edit the wiki page to be clearer. :)
Can other pack modes be implemented in a kwin script?
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1478
This was implemented by the requester as a KWin script: https://store.kde.org/p/1702170