{"id":47819172,"url":"https://github.com/0xtlt/vitrail","last_synced_at":"2026-04-11T11:06:21.833Z","repository":{"id":348476985,"uuid":"1198270676","full_name":"0xtlt/vitrail","owner":"0xtlt","description":"Lightweight macOS window layout manager — Swift, TOML config, global hotkeys","archived":false,"fork":false,"pushed_at":"2026-04-03T16:05:00.000Z","size":828,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-03T17:00:38.631Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/0xtlt.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-01T09:11:14.000Z","updated_at":"2026-04-03T16:05:03.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/0xtlt/vitrail","commit_stats":null,"previous_names":["0xtlt/tiler"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/0xtlt/vitrail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xtlt%2Fvitrail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xtlt%2Fvitrail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xtlt%2Fvitrail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xtlt%2Fvitrail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xtlt","download_url":"https://codeload.github.com/0xtlt/vitrail/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xtlt%2Fvitrail/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31371642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"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":[],"created_at":"2026-04-03T19:01:44.841Z","updated_at":"2026-04-03T19:01:47.013Z","avatar_url":"https://github.com/0xtlt.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vitrail\n\n[![GitHub release](https://img.shields.io/github/v/release/0xtlt/vitrail?style=flat-square)](https://github.com/0xtlt/vitrail/releases) [![homebrew](https://img.shields.io/badge/brew-0xtlt/tap/vitrail-FBB040?style=flat-square\u0026logo=homebrew\u0026logoColor=white)](https://github.com/0xtlt/homebrew-tap)\n\nLightweight macOS window layout manager. Define layouts in TOML, switch with global hotkeys.\n\nNo tiling tree, no automatic rearrangement — just precise window positioning with percentages.\n\n## Features\n\n- **TOML config** — define layouts with window positions as percentages\n- **Global hotkeys** — switch layouts with `alt+1`, `alt+2`, etc.\n- **Menu bar icon** — click to apply layouts, edit config, or quit\n- **Window matching** — match by app name + optional title filter (supports Chrome profiles)\n- **Spacing** — configurable gaps between windows (% or px)\n- **Hide others** — automatically hide apps not in the active layout\n- **Multi-screen** — assign windows to specific screens\n- **Launch at login** — toggle from the menu bar\n\n## Install\n\n### Homebrew (recommended)\n\n```bash\nbrew tap 0xtlt/tap\nbrew install vitrail\n```\n\n### Download DMG\n\nGrab the latest DMG from [Releases](https://github.com/0xtlt/vitrail/releases) — signed and notarized.\n\n### From source\n\n```bash\ngit clone https://github.com/0xtlt/vitrail.git\ncd vitrail\nswift build -c release\ncp .build/release/Vitrail /usr/local/bin/vitrail\n```\n\n## Setup\n\nCreate your config at `~/.config/vitrail/config.toml` (or click **Edit Config...** in the menu bar):\n\n```toml\nspacing = \"1%\"\nhide_others = true\n\n[[layout]]\nname = \"dev\"\nhotkey = \"alt+1\"\n\n  [[layout.window]]\n  app = \"Terminal\"\n  x = 0\n  y = 0\n  width = 40\n  height = 100\n\n  [[layout.window]]\n  app = \"Google Chrome\"\n  x = 40\n  y = 0\n  width = 60\n  height = 100\n\n[[layout]]\nname = \"work\"\nhotkey = \"alt+2\"\n\n  [[layout.window]]\n  app = \"Slack\"\n  x = 0\n  y = 0\n  width = 40\n  height = 100\n\n  [[layout.window]]\n  app = \"Google Chrome\"\n  title = \"Work\"\n  x = 40\n  y = 0\n  width = 60\n  height = 100\n```\n\n## Config reference\n\n### Global settings\n\n| Key | Default | Description |\n|-----|---------|-------------|\n| `spacing` | `\"1%\"` | Gap between windows. `\"1%\"`, `\"10px\"`, or `\"10\"` |\n| `hide_others` | `true` | Hide apps not in the active layout |\n\n### Layout\n\n| Key | Description |\n|-----|-------------|\n| `name` | Layout name (shown in menu bar) |\n| `hotkey` | Global shortcut. Modifiers: `alt`, `cmd`, `ctrl`, `shift`. Example: `\"alt+1\"`, `\"ctrl+shift+a\"` |\n\n### Window\n\n| Key | Required | Description |\n|-----|----------|-------------|\n| `app` | yes | App name (as shown in Activity Monitor) |\n| `title` | no | Window title filter (substring match). Useful for Chrome profiles |\n| `screen` | no | Screen index (1 = primary, 2 = secondary). Default: `1` |\n| `x` | yes | X position as % of screen (0-100) |\n| `y` | yes | Y position as % of screen (0-100) |\n| `width` | yes | Width as % of screen (0-100) |\n| `height` | yes | Height as % of screen (0-100) |\n\n## Usage\n\n```bash\n# Run with default config (~/.config/vitrail/config.toml)\nvitrail\n\n# Run with custom config\nvitrail /path/to/config.toml\n```\n\n## Permissions\n\nVitrail needs **Accessibility** permission to move and resize windows.\n\nOn first launch, macOS will prompt you to grant access in **System Settings \u003e Privacy \u0026 Security \u003e Accessibility**.\n\n## Requirements\n\n- macOS 13+\n- Swift 5.9+\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xtlt%2Fvitrail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xtlt%2Fvitrail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xtlt%2Fvitrail/lists"}