{"id":51571921,"url":"https://github.com/oleksiym/maclngswitcher","last_synced_at":"2026-07-10T20:02:19.262Z","repository":{"id":368260490,"uuid":"1262264174","full_name":"OleksiyM/MacLngSwitcher","owner":"OleksiyM","description":"Lightweight macOS menu bar utility for fast, single-tap layout switching using customizable modifier keys (Control/Option) with automatic MacBook detection.","archived":false,"fork":false,"pushed_at":"2026-06-29T18:13:52.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-29T20:11:33.228Z","etag":null,"topics":["input-source","keyboard-layout","keyboard-switcher","macos","menu-bar","swift","utility","vibrancy-ui"],"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/OleksiyM.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-06-07T19:26:55.000Z","updated_at":"2026-06-29T18:19:02.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/OleksiyM/MacLngSwitcher","commit_stats":null,"previous_names":["oleksiym/maclngswitcher"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/OleksiyM/MacLngSwitcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OleksiyM%2FMacLngSwitcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OleksiyM%2FMacLngSwitcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OleksiyM%2FMacLngSwitcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OleksiyM%2FMacLngSwitcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OleksiyM","download_url":"https://codeload.github.com/OleksiyM/MacLngSwitcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OleksiyM%2FMacLngSwitcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35341768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-10T02:00:06.465Z","response_time":60,"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":["input-source","keyboard-layout","keyboard-switcher","macos","menu-bar","swift","utility","vibrancy-ui"],"created_at":"2026-07-10T20:02:17.139Z","updated_at":"2026-07-10T20:02:19.256Z","avatar_url":"https://github.com/OleksiyM.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MacLngSwitcher\n\n`MacLngSwitcher` is a lightweight macOS menu bar utility designed for fast and seamless keyboard layout switching using modifier keys:\n- **Left Modifier Action** — Tap once to immediately switch to a specific layout (e.g., English / U.S. / ABC).\n- **Right Modifier Action** — Tap once to cycle between your other selected keyboard layouts (e.g., Russian, Ukrainian).\n- **Modifier Combination Safety** — Normal shortcuts (like keyboard shortcuts or holding modifiers down) are preserved and will not trigger a layout switch.\n\nThe utility features a premium, native macOS settings window designed to blend perfectly with system windows, featuring real-time system vibrancy (Vibrancy Popover material), support for Dark/Light themes, and system accent colors.\n\n## Features\n\n- **Dynamic Modifier Key Selection**: Select either **Control (⌃)** or **Option (⌥)** for both Left (Switch) and Right (Cycle) actions via clean, native drop-down pickers.\n- **MacBook Auto-Detection**: Automatically detects if you are using a portable Mac (MacBook) which lacks a physical Right Control key, defaulting the Right modifier to **Option (⌥)** on MacBooks, and **Control (⌃)** on desktop Macs.\n- **Custom Sensitivity**: Slider to adjust the tap timeout sensitivity (between 0.15s and 0.60s).\n- **Auto-Start**: Modern `SMAppService` API integration to launch automatically at macOS boot.\n- **Vibrancy Design**: High-fidelity, flat native UI with zero CPU overhead in idle state.\n- **Self-Contained Build**: Built completely via command line without heavy Xcode workspace overhead.\n\n## Requirements\n\n- macOS 13.0 (Ventura) or newer.\n- **Accessibility Access** is required for the application to monitor global modifier keys.\n\n---\n\n## How to Build\n\nYou do not need Xcode GUI to build this application. A lightweight compilation script using `swiftc` is provided.\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/\u003cyour-username\u003e/MacLngSwitcher.git\n   cd MacLngSwitcher\n   ```\n\n2. **Make the build script executable**:\n   ```bash\n   chmod +x build.sh\n   ```\n\n3. **Build the application**:\n   ```bash\n   ./build.sh\n   ```\n   This will:\n   - Generate `AppIcon.icns` from CoreGraphics script.\n   - Compile all Swift sources.\n   - Output a native macOS bundle named `MacLngSwitcher.app` in the root folder.\n\n---\n\n## How to Install and Run\n\n1. **Copy the application to your Applications folder**:\n   ```bash\n   rm -rf /Applications/MacLngSwitcher.app\n   cp -R MacLngSwitcher.app /Applications/\n   ```\n2. **Open the application**:\n   ```bash\n   open /Applications/MacLngSwitcher.app\n   ```\n3. **Grant Accessibility Permissions**:\n   - The application will request Accessibility access on first launch.\n   - Go to **System Settings \u003e Privacy \u0026 Security \u003e Accessibility** and enable `MacLngSwitcher`.\n   - Click **Restart Application** in the settings window to apply permissions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleksiym%2Fmaclngswitcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foleksiym%2Fmaclngswitcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foleksiym%2Fmaclngswitcher/lists"}