{"id":17929754,"url":"https://github.com/ojford/loginitems","last_synced_at":"2025-03-24T04:31:06.906Z","repository":{"id":49806943,"uuid":"48498145","full_name":"OJFord/loginitems","owner":"OJFord","description":"Simple utility for managing macOS login items from the command line","archived":false,"fork":false,"pushed_at":"2020-11-22T11:18:37.000Z","size":6,"stargazers_count":76,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-19T01:45:30.412Z","etag":null,"topics":["dotfiles","initscript","login-automation","macos","macos-setup"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OJFord.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-12-23T15:43:43.000Z","updated_at":"2025-01-01T19:41:59.000Z","dependencies_parsed_at":"2022-09-24T10:26:47.077Z","dependency_job_id":null,"html_url":"https://github.com/OJFord/loginitems","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OJFord%2Floginitems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OJFord%2Floginitems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OJFord%2Floginitems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OJFord%2Floginitems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OJFord","download_url":"https://codeload.github.com/OJFord/loginitems/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245210967,"owners_count":20578321,"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":["dotfiles","initscript","login-automation","macos","macos-setup"],"created_at":"2024-10-28T21:10:24.087Z","updated_at":"2025-03-24T04:31:06.631Z","avatar_url":"https://github.com/OJFord.png","language":"Shell","readme":"# loginitems\nloginitems is a simple command line tool to manage applications that launch on startup on OS X. While [previously possible with launchctl]() this is deprecated as of some time before or with 10.11.\n\n## Installation\nI'm a big brew fan - so while this repo isn't popular enough to be included in official formulae, if you share my preference then you can run [the formula from my fork here](https://github.com/OJFord/homebrew/blob/formula-loginitems/Library/Formula/loginitems.rb):\n```sh\nbrew tap OJFord/formulae\nbrew install loginitems\n```\n\nOtherwise, you'll need to clone/download the repo to somewhere on your path, and `chmod +x` each of the included scripts.\n\n## Usage\n```sh\nUsage: loginitems [-h | -a NAME [-p PATH] [-s HIDE?] | -d NAME | -l]\n  -h Show this help message.\n  -a Add an application, optionally hide with -s false.\n  -p Path to application; defaults to /Applications/NAME.app.\n  -s Show/hide application; defaults to true (no hide).\n  -d Delete an application from login items.\n  -l List all login items (default if no option specified).\n```\n\nFor example:\n```sh\n% loginitems -a Caffeine \n% loginitems -l\nCaffeine\n% loginitems -d Caffeine\n% loginitems -l\n% loginitems -a \"Custom Name\" -p \"/Applications/Caffeine.app\"\n% loginitems -a \"App\" -p \"/that/I/decided/to/store/elsewhere/because/yolo.not-app\"\n% loginitems -l\nCustom Name, App\n%\n```\n\n## Todo\n- While the Applescript use may well work (untested) on earlier versions, I hope to check OS X version and use `launchctl submit` on older versions, or `defaults write` on ancient ones\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fojford%2Floginitems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fojford%2Floginitems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fojford%2Floginitems/lists"}