LaunchAgent
-creation de 2 .plist pour lancer automatiquement KYMSU2 et Installed.sh -màj de la doc
This commit is contained in:
30
LaunchAgents/kymsu.installed.plist
Normal file
30
LaunchAgents/kymsu.installed.plist
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Disabled</key>
|
||||
<false/>
|
||||
<key>EnvironmentVariables</key>
|
||||
<dict>
|
||||
<key>PATH</key>
|
||||
<string>/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:</string>
|
||||
<key>_</key>
|
||||
<string>/usr/bin/env</string>
|
||||
</dict>
|
||||
<key>Label</key>
|
||||
<string>kymsy.installed</string>
|
||||
<key>Program</key>
|
||||
<string>/Users/bruno/Documents/Scripts/kymsu2/plugins.d/installed.sh</string>
|
||||
<key>StartCalendarInterval</key>
|
||||
<dict>
|
||||
<key>Hour</key>
|
||||
<integer>6</integer>
|
||||
<key>Minute</key>
|
||||
<integer>45</integer>
|
||||
<key>Weekday</key>
|
||||
<integer>1</integer>
|
||||
</dict>
|
||||
<key>WorkingDirectory</key>
|
||||
<string>/Users/bruno/Documents/Scripts/kymsu2/plugins.d</string>
|
||||
</dict>
|
||||
</plist>
|
||||
32
LaunchAgents/kymsu.plist
Normal file
32
LaunchAgents/kymsu.plist
Normal file
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>EnvironmentVariables</key>
|
||||
<dict>
|
||||
<key>PATH</key>
|
||||
<string>/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
|
||||
<key>_</key>
|
||||
<string>/usr/bin/env</string>
|
||||
</dict>
|
||||
<key>Label</key>
|
||||
<string>kymsu</string>
|
||||
<key>Program</key>
|
||||
<string>/usr/local/bin/kymsu2</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>/usr/local/bin/kymsu2 --nodistract</string>
|
||||
</array>
|
||||
<key>StartCalendarInterval</key>
|
||||
<dict>
|
||||
<key>Hour</key>
|
||||
<integer>6</integer>
|
||||
<key>Minute</key>
|
||||
<integer>30</integer>
|
||||
<key>Weekday</key>
|
||||
<integer>2</integer>
|
||||
</dict>
|
||||
<key>WorkingDirectory</key>
|
||||
<string>/Users/bruno/.kymsu/plugins.d/</string>
|
||||
</dict>
|
||||
</plist>
|
||||
14
README.md
14
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) <u>(for testing only)</u>
|
||||
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user