{"id":28718843,"url":"https://github.com/sans-script/ohmywindow","last_synced_at":"2026-05-08T13:04:06.960Z","repository":{"id":298302199,"uuid":"999494435","full_name":"sans-script/ohmywindow","owner":"sans-script","description":"Oh My Window aka WRP (Window Resizer \u0026 Positioner) is a project that allows you to interactively resize and reposition any open window on Windows 10/11 using PowerShell. It provides an interface to select a window, view its current size and position, and apply custom or preset geometries.","archived":false,"fork":false,"pushed_at":"2025-06-10T11:10:53.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-10T12:24:52.618Z","etag":null,"topics":["automation","json","powershell","script","windows11"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sans-script.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-06-10T10:37:08.000Z","updated_at":"2025-06-10T11:11:35.000Z","dependencies_parsed_at":"2025-06-10T12:25:09.431Z","dependency_job_id":"66c63b67-6bdc-45ca-82a4-f577ba1998c5","html_url":"https://github.com/sans-script/ohmywindow","commit_stats":null,"previous_names":["sans-script/ohmywindow"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sans-script/ohmywindow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sans-script%2Fohmywindow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sans-script%2Fohmywindow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sans-script%2Fohmywindow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sans-script%2Fohmywindow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sans-script","download_url":"https://codeload.github.com/sans-script/ohmywindow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sans-script%2Fohmywindow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32781567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["automation","json","powershell","script","windows11"],"created_at":"2025-06-15T05:04:53.602Z","updated_at":"2026-05-08T13:04:06.946Z","avatar_url":"https://github.com/sans-script.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Oh My Window - Window Resizer \u0026 Positioner\n\nOh My Window aka WRP (Window Resizer \u0026 Positioner) is a project that allows you to interactively resize and reposition any open window on Windows 10/11 using PowerShell. It provides an interface to select a window, view its current size and position, and apply custom or preset geometries. Presets are loaded from a JSON file and can be easily extended.\n\n## Why this project?\n\nThis project was created because sometimes I need to use WSA (Windows Subsystem for Android) and want to set window sizes to very specific dimensions that resemble a smartphone screen. It's ideal when you need an exact width and height, instead of adjusting manually with the mouse, which can be imprecise. With this tool, you can quickly apply precise dimensions and positions to any window, making it especially useful for testing, development, or simply improving your workflow.\n\n## Features\n\n- Select any open window to modify\n- Enter custom position and size values\n- Apply predefined size/position presets (e.g., Mobile Portrait, Mobile Landscape)\n- Maximize windows\n- Works on Windows 10/11 with PowerShell 5.1+\n\n## How to use\n\n1. Clone this repository.\n2. Make sure `presets.json` is in the same folder as `window_manager.ps1`.\n3. Run `window_manager.ps1` with PowerShell.\n4. Follow the on-screen instructions to select a window and apply changes.\n5. You can customize all settings by editing the `presets.json` file.\n\n\u003e [!NOTE]\n\u003e All presets and configurations were developed on a 1920x1080 screen. For this reason, it is recommended to adjust the presets to match your own screen resolution for best results.\n\n## Requirements\n\n- Windows 10 or later\n- PowerShell 5.1 or newer\n\n## Presets\n\nPresets are defined in `presets.json`. Example:\n\n```json\n{\n  \"Mobile Portrait Size\": {\n    \"x\": -6,\n    \"y\": 0,\n    \"width\": 480,\n    \"height\": 1080\n  },\n  \"Mobile Landscape Size\": {\n    \"x\": -6,\n    \"y\": 0,\n    \"width\": 1080,\n    \"height\": 480\n  }\n}\n```\n\nYou can add more presets by editing this file.\n\n## Contribution\n\nContributions are welcome! Feel free to open issues or submit pull requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsans-script%2Fohmywindow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsans-script%2Fohmywindow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsans-script%2Fohmywindow/lists"}