{"id":26651896,"url":"https://github.com/ethanuppal/unnamed","last_synced_at":"2026-05-05T06:33:41.268Z","repository":{"id":283466558,"uuid":"951852304","full_name":"ethanuppal/unnamed","owner":"ethanuppal","description":"🖥️🦀 Extremely simple window layout engine for macOS built in Rust! ","archived":false,"fork":false,"pushed_at":"2025-05-07T22:08:46.000Z","size":69,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-28T01:40:47.882Z","etag":null,"topics":["layout","macos","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/ethanuppal.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-03-20T10:47:25.000Z","updated_at":"2025-06-01T23:55:15.000Z","dependencies_parsed_at":"2025-05-29T20:09:16.617Z","dependency_job_id":"a354cb79-d8f9-4af5-8fcd-f93db8e830a6","html_url":"https://github.com/ethanuppal/unnamed","commit_stats":null,"previous_names":["ethanuppal/wise","ethanuppal/unnamed"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ethanuppal/unnamed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanuppal%2Funnamed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanuppal%2Funnamed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanuppal%2Funnamed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanuppal%2Funnamed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ethanuppal","download_url":"https://codeload.github.com/ethanuppal/unnamed/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanuppal%2Funnamed/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269809897,"owners_count":24478640,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["layout","macos","rust"],"created_at":"2025-03-25T03:38:39.239Z","updated_at":"2026-03-11T18:03:18.134Z","avatar_url":"https://github.com/ethanuppal.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unnamed:  Extremely simple window layout engine for macOS\n\n\u003e [!NOTE]\n\u003e The name, in addition to the code, is a work-in-progress!\n\nThis is currently just for me because I want to automatically pin apps to have specific border insets.\nThus, the border insets are not configurable -- they will always be\n\n```rs\nconst LEFT_INSET: CGFloat = 8.0;\nconst RIGHT_INSET: CGFloat = 8.0;\nconst TOP_INSET: CGFloat = 6.0;\nconst BOTTOM_INSET: CGFloat = 8.0;\nconst INNER_SPACING: CGFloat = 12.0;\n```\n\nbecause those look best on my system.\n**It's also probably very buggy.**\n\n## Usage\n\nFirst, clone:\n\n```shell\ngit clone https://github.com/ethanuppal/unnamed.git\ncd unnamed\n```\n\nThen, run:\n\n```shell\ncargo build --release\n./target/release/unnamed -- apps.txt\n```\n\nFor example, see [`apps.txt`](./apps.txt).\nThis file contains the \"core\" apps --- these are the apps that unnamed will actively maintain in certain layouts (_i,e,._, you can't accidently move or resize them).\n\nYou will need to give `target/release/unnamed` accessibility permissions.\n\n\u003e [!CAUTION]\n\u003e Right now, I don't check for whether windows get resized afterward --- the next step is to (1) setup `AXObserver`s for when new windows are created, ~~get moved, or get resized~~ and (2) setup `NSNotification`s for when the specified apps are closed and reopened.\n\n## Roadmap\n\n- [x] Layout apps on screen\n- [x] Keybinds to change app layout or prevent maintaining layout\n- [x] Non-core apps can still be manually/temporarily layouted with keybinds\n- [ ] Check when a core app launches new windows and handle those / check when a core app closes a window\n- [ ] Check when a core app is closed and reopened\n\n## Layouts\n\nThree layout options are supported (where `Super` is `Command-Control-Option`):\n\n- full screen (`Super-Shift-C`)\n- left (`Super-Shift-H`)\n- right (`Super-Shift-L`)\n- toggle floating (`Super-Shift-Space`)\n\nThe toggle-floating option only matters for core apps since non-core apps will always behave as if they are in that state.\n\n\u003c!--## Move windows around--\u003e\n\u003c!----\u003e\n\u003c!--You can use RPC to port 12345:--\u003e\n\u003c!----\u003e\n\u003c!--```shell--\u003e\n\u003c!--curl -X POST http://localhost:12345 \\--\u003e\n\u003c!--    -H \"Content-Type: application/json\" \\--\u003e\n\u003c!--    -d '{\"bundleID\": \"net.kovidgoyal.kitty\", \"position\": \"left\"}'--\u003e\n\u003c!--```--\u003e\n\u003c!----\u003e\n\u003c!--Pass the bundle ID and the position (one of `\"left\"`, `\"full\"`, or `\"right\"`).--\u003e\n\n## Debugging\n\nThis is for me on macOS:\n\nAddress sanitizer:\n\n```shell\nASAN_OPTIONS=detect_leaks=1:symbolize=1 RUSTFLAGS=-Zsanitizer=address cargo +nightly r -Z build-std --target aarch64-apple-darwin -- com.apple.Safari net.kovidgoyal.kitty\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethanuppal%2Funnamed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethanuppal%2Funnamed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethanuppal%2Funnamed/lists"}