{"id":20092385,"url":"https://github.com/rubixdev/kwin-window-grid","last_synced_at":"2025-03-02T15:53:04.610Z","repository":{"id":112918238,"uuid":"480319281","full_name":"RubixDev/kwin-window-grid","owner":"RubixDev","description":"Quick shortcuts for arranging windows in a specified grid with optional gaps","archived":false,"fork":false,"pushed_at":"2023-02-06T18:30:14.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T03:12:27.309Z","etag":null,"topics":["grid","kde-plasma","kwin","kwin-script"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RubixDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"rubixdev"}},"created_at":"2022-04-11T09:50:24.000Z","updated_at":"2022-04-11T11:44:54.000Z","dependencies_parsed_at":"2023-09-20T20:23:15.406Z","dependency_job_id":null,"html_url":"https://github.com/RubixDev/kwin-window-grid","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubixDev%2Fkwin-window-grid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubixDev%2Fkwin-window-grid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubixDev%2Fkwin-window-grid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubixDev%2Fkwin-window-grid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RubixDev","download_url":"https://codeload.github.com/RubixDev/kwin-window-grid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241533650,"owners_count":19977826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grid","kde-plasma","kwin","kwin-script"],"created_at":"2024-11-13T16:36:59.722Z","updated_at":"2025-03-02T15:53:04.584Z","avatar_url":"https://github.com/RubixDev.png","language":"TypeScript","readme":"# kwin-window-grid\nQuick shortcuts for arranging windows in a specified grid with optional gaps\n\nThis project is based on [kwin-typescript-template](https://github.com/RubixDev/kwin-typescript-template)\n\n## Installation\n### Using the prepackaged release\nDownload the latest release from the [releases page](https://github.com/RubixDev/kwin-window-grid/releases) or with:\n```bash\nwget https://github.com/RubixDev/kwin-window-grid/releases/latest/download/window-grid.kwinscript\n```\n\nTo install the file:\n```bash\nkpackagetool5 --type=KWin/Script -i window-grid.kwinscript\n```\n\u003e Note: Use `-u` instead of `-i` when updating\n\nTo get the config menu also run these two commands:\n```bash\nmkdir -p ~/.local/share/kservices5\nln -s ~/.local/share/kwin/scripts/window-grid/metadata.desktop ~/.local/share/kservices5/window-grid.desktop\n```\n\n### Building from source\nFirst make sure you have NodeJS and NPM installed. Then follow these steps:\n\nClone this repo:\n```bash\ngit clone https://github.com/RubixDev/kwin-window-grid\n```\n\nInstall dependencies:\n```bash\nnpm i\n```\n\nBuild and install script:\n```bash\nnpm start\n```\n\n## Usage\n### Configuration\nThe gap and grid size can be configured in `System Settings` -\u003e `Window Management` -\u003e `KWin Scripts` with the gear icon next to the script.\n\n\u003e Note: After changing the settings you must reload the script. (Uncheck, `Apply`, Check, `Apply`)\n\n### Shortcuts\nThe script registers a bunch of new shortcuts, all prefixed with 'Window Grid: '\n\n| Name                       | Default Keybinding  |\n| -------------------------- | ------------------- |\n| Maximize Window            | `Meta+Up`           |\n| Minimize Window            | `Meta+Down`         |\n| Tile Window to left Edge   | `Meta+Left`         |\n| Tile Window to right Edge  | `Meta+Right`        |\n| Tile Window to top Edge    | `Meta+PgUp`         |\n| Tile Window to bottom Edge | `Meta+PgDown`       |\n| Increase Grid Width        | `Meta+Alt+L`        |\n| Decrease Grid Width        | `Meta+Alt+J`        |\n| Increase Grid Height       | `Meta+Alt+I`        |\n| Decrease Grid Height       | `Meta+Alt+K`        |\n| Move right edge right      | `Meta+Shift+L`      |\n| Move right edge left       | `Meta+Shift+J`      |\n| Move bottom edge down      | `Meta+Shift+K`      |\n| Move bottom edge up        | `Meta+Shift+I`      |\n| Move left edge right       | `Meta+Ctrl+L`       |\n| Move left edge left        | `Meta+Ctrl+J`       |\n| Move top edge down         | `Meta+Ctrl+K`       |\n| Move top edge up           | `Meta+Ctrl+I`       |\n| Move window right          | `Meta+Ctrl+Shift+L` |\n| Move window left           | `Meta+Ctrl+Shift+J` |\n| Move window down           | `Meta+Ctrl+Shift+K` |\n| Move window up             | `Meta+Ctrl+Shift+I` |\n\n\u003e Note: Some of the default keybindings may not be set when other shortcuts already use them. You can set them manually in `System Settings` -\u003e `Shortcuts` -\u003e `KWin`\n","funding_links":["https://ko-fi.com/rubixdev"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubixdev%2Fkwin-window-grid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubixdev%2Fkwin-window-grid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubixdev%2Fkwin-window-grid/lists"}