https://github.com/tddschn/alfred-launchctl
https://github.com/tddschn/alfred-launchctl
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/tddschn/alfred-launchctl
- Owner: tddschn
- License: mit
- Created: 2022-04-23T12:24:09.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-01T06:17:41.000Z (over 3 years ago)
- Last Synced: 2026-04-16T21:06:06.642Z (about 2 months ago)
- Language: Python
- Size: 152 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# alfred-launchctl
A simple Alfred Workflow for managing `launchd` jobs.
- [alfred-launchctl](#alfred-launchctl)
- [What does this workflow do?](#what-does-this-workflow-do)
- [Demo](#demo)
- [Install](#install)
## What does this workflow do?
- Get a list of `*.plist` files in `~/Library/LaunchAgents` and let you choose one to act on;
- Let you choose a `launchctl` to run on the selected plist file;
- Display a notification after running the command.
## Demo
https://user-images.githubusercontent.com/45612704/164894524-0bcd2546-73c4-4238-a2ef-e69c61c42de0.mp4
## Install
- Step 1: `brew install python@3.10`, or point the python path in the workflow to your python3 installation.
- Step 2: Download the latest workflow release [here](https://github.com/tddschn/alfred-launchctl/releases/download/1.0.0/launchctl.alfredworkflow) and open it.
Enjoy!
## Usage
- The default keyword trigger is `laup`
- Press shift on the plist for preview
- Supported launchctl actions: `'load', 'unload', 'reload', 'start', 'stop', 'restart', 'enable', 'disable'`, where `reload` = `unload` + `load` and `restart` = `reload` + `start`.
`