From eaeda193d6c76cca30e7346a6355ad77311d860f Mon Sep 17 00:00:00 2001 From: Bruno 21 Date: Sun, 11 Aug 2019 11:16:04 +0200 Subject: [PATCH] LaunchAgent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -creation de 2 .plist pour lancer automatiquement KYMSU2 et Installed.sh -màj de la doc --- LaunchAgents/kymsu.installed.plist | 30 ++++++++++++++++++++++++++++ LaunchAgents/kymsu.plist | 32 ++++++++++++++++++++++++++++++ README.md | 14 +++++++++++-- 3 files changed, 74 insertions(+), 2 deletions(-) create mode 100644 LaunchAgents/kymsu.installed.plist create mode 100644 LaunchAgents/kymsu.plist diff --git a/LaunchAgents/kymsu.installed.plist b/LaunchAgents/kymsu.installed.plist new file mode 100644 index 0000000..52096be --- /dev/null +++ b/LaunchAgents/kymsu.installed.plist @@ -0,0 +1,30 @@ + + + + + Disabled + + EnvironmentVariables + + PATH + /usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin: + _ + /usr/bin/env + + Label + kymsy.installed + Program + /Users/bruno/Documents/Scripts/kymsu2/plugins.d/installed.sh + StartCalendarInterval + + Hour + 6 + Minute + 45 + Weekday + 1 + + WorkingDirectory + /Users/bruno/Documents/Scripts/kymsu2/plugins.d + + diff --git a/LaunchAgents/kymsu.plist b/LaunchAgents/kymsu.plist new file mode 100644 index 0000000..82cfcbe --- /dev/null +++ b/LaunchAgents/kymsu.plist @@ -0,0 +1,32 @@ + + + + + EnvironmentVariables + + PATH + /usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin + _ + /usr/bin/env + + Label + kymsu + Program + /usr/local/bin/kymsu2 + ProgramArguments + + /usr/local/bin/kymsu2 --nodistract + + StartCalendarInterval + + Hour + 6 + Minute + 30 + Weekday + 2 + + WorkingDirectory + /Users/bruno/.kymsu/plugins.d/ + + diff --git a/README.md b/README.md index f076abc..61b0236 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,12 @@ https://github.com/welcoMattic/kymsu - **atom** (plug-ins) - **homebrew** (brew and cask) -- **installed** (create a list of all your brew, pip, npm... stuffs). +- **installed** (create a list of all your brew, pip, npm... stuffs and a Brewfile). - **npm** (javascript package) (local or global packages) - **mas** (Mac Appstore) - **pip** (Python Package index) (pip or pip3) - **PECL** (PHP modules) -- **Wordpress** (wp-cli) (for testing only) +- **Wordpress** (wp-cli) (for testing only) @@ -50,6 +50,8 @@ Prefix plugin with a _ to ignore it: 00-kymsu.sh _wp.sh atom.sh homebrew.sh mas.sh npm.sh pecl.sh pip.sh ``` +`Installed.sh` create a Markdown file with all yours installed stuffs and a Brewfile. I suggest to disable the plugin and run it manually. + ## Settings @@ -79,6 +81,14 @@ Git pull and re-run install.sh: +## Automate + +altKYMSU comes with 2 **.plist** files (one for kymsu2, one for installed.sh) to automate the use of KYMSU. Please edit and drag them into the folder ~ / Library / LaunchAgents + +For configure LaunchAgent, I suggest [LaunchControl](http://www.soma-zone.com). + + + ## Uninstall Run uninstall.sh: