{"id":28538603,"url":"https://github.com/myshov/xkbswitch-macosx","last_synced_at":"2025-07-08T08:31:23.339Z","repository":{"id":25292769,"uuid":"28718857","full_name":"myshov/xkbswitch-macosx","owner":"myshov","description":"Console keyboard layout switcher for MacOS","archived":false,"fork":false,"pushed_at":"2022-02-05T08:36:19.000Z","size":50,"stargazers_count":223,"open_issues_count":8,"forks_count":26,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-06-09T18:13:36.110Z","etag":null,"topics":["keyboard-layout","keyboard-source","tmux","vim","xkbswitch-macosx"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/myshov.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}},"created_at":"2015-01-02T16:30:38.000Z","updated_at":"2025-05-23T14:10:38.000Z","dependencies_parsed_at":"2022-08-23T05:20:11.034Z","dependency_job_id":null,"html_url":"https://github.com/myshov/xkbswitch-macosx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/myshov/xkbswitch-macosx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myshov%2Fxkbswitch-macosx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myshov%2Fxkbswitch-macosx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myshov%2Fxkbswitch-macosx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myshov%2Fxkbswitch-macosx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/myshov","download_url":"https://codeload.github.com/myshov/xkbswitch-macosx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myshov%2Fxkbswitch-macosx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264231634,"owners_count":23576660,"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":["keyboard-layout","keyboard-source","tmux","vim","xkbswitch-macosx"],"created_at":"2025-06-09T18:12:54.189Z","updated_at":"2025-07-08T08:31:23.332Z","avatar_url":"https://github.com/myshov.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Xkbswitch-macosx\n\nConsole keyboard layout switcher for Mac OS X.\n\nThe utility for switching current layout in terminal. You can use it whenever you need\nthat functionality (for example, for tmux statusline when one is running in fullscreen\nterminal). Also you can use it as auxilary utility for [vim-xkbswitch](https://github.com/lyokha/vim-xkbswitch) plugin for\nchanging the keyboard layout in Mac\u0026nbsp;OS\u0026nbsp;X. The utility should work on all versions\nof Mac OS X since 10.6.\n\n## Vim integration\nFor integration with vim-xkbswitch you need to install this [library](https://github.com/myshov/libxkbswitch-macosx) and follow instructions from there.\n\n## Installation\nFor installation put executable file from bin directory in any directory in your $PATH\nvariable. For example you can put it into  `/usr/local/bin` with this command (if source\nfiles of utility in your `Download` directory):\n```shell\n$ cp ~/Download/xkbswitch-macosx/bin/xkbswitch /usr/local/bin\n```\n## Usage:\n```\nxkbswitch -g|s [-n|e] [value]\nwhere:\n-g - get number of layout\n-s - set layout by number of list of layouts\n-n - code mode (default mode)\n-e - string mode (combine it with -g|s to get current layout name or set layouts by its name)\n-l - list all available keyboard layouts (their names)\n```\n\n## Examples:\n#### set layout:\n```shell\n$ ./xkbswitch -se RussianWin\n$ ./xkbswitch -se US\n$ ./xkbswitch -s 2\n$ ./xkbswitch -s 1\n```\n\n#### get current layout:\n```shell\n$ ./xkbswitch -ge\n$ ./xkbswitch -g\n```\n\n## License\nThe MIT License (MIT)\n\nCopyright (c) 2015 Alexander Myshov\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyshov%2Fxkbswitch-macosx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyshov%2Fxkbswitch-macosx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyshov%2Fxkbswitch-macosx/lists"}