[launchd] Setup proper setup for work computer
This commit is contained in:
34
launchd/Library/LaunchAgents/com.koekeishiya.skhd.plist
Normal file
34
launchd/Library/LaunchAgents/com.koekeishiya.skhd.plist
Normal file
@ -0,0 +1,34 @@
|
||||
<?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>Label</key>
|
||||
<string>com.koekeishiya.skhd</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>/opt/homebrew/bin/skhd</string>
|
||||
</array>
|
||||
<key>EnvironmentVariables</key>
|
||||
<dict>
|
||||
<key>PATH</key>
|
||||
<string>/Users/powellc/.local/bin:/opt/homebrew/bin:/Users/powellc/.emacs.d/bin:/Users/powellc/.screenlayout:/Users/powellc/.poetry/bin:/Users/powellc/.bin:/Users/powellc/.cargo/bin:/Users/powellc/.asdf/installs/rust/latest/bin:/Users/powellc/.go/bin:/Users/powellc/.asdf/shims:/Users/powellc/.asdf/bin:/opt/homebrew/bin/:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/opt/homebrew/bin</string>
|
||||
</dict>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>KeepAlive</key>
|
||||
<dict>
|
||||
<key>SuccessfulExit</key>
|
||||
<false/>
|
||||
<key>Crashed</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>StandardOutPath</key>
|
||||
<string>/tmp/skhd_powellc.out.log</string>
|
||||
<key>StandardErrorPath</key>
|
||||
<string>/tmp/skhd_powellc.err.log</string>
|
||||
<key>ProcessType</key>
|
||||
<string>Interactive</string>
|
||||
<key>Nice</key>
|
||||
<integer>-20</integer>
|
||||
</dict>
|
||||
</plist>
|
||||
34
launchd/Library/LaunchAgents/com.koekeishiya.yabai.plist
Normal file
34
launchd/Library/LaunchAgents/com.koekeishiya.yabai.plist
Normal file
@ -0,0 +1,34 @@
|
||||
<?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>Label</key>
|
||||
<string>com.koekeishiya.yabai</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>/opt/homebrew/bin/yabai</string>
|
||||
</array>
|
||||
<key>EnvironmentVariables</key>
|
||||
<dict>
|
||||
<key>PATH</key>
|
||||
<string>/Users/powellc/.local/bin:/opt/homebrew/bin:/Users/powellc/.emacs.d/bin:/Users/powellc/.screenlayout:/Users/powellc/.poetry/bin:/Users/powellc/.bin:/Users/powellc/.cargo/bin:/Users/powellc/.asdf/installs/rust/latest/bin:/Users/powellc/.go/bin:/Users/powellc/.asdf/shims:/Users/powellc/.asdf/bin:/opt/homebrew/bin/:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/opt/homebrew/bin</string>
|
||||
</dict>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>KeepAlive</key>
|
||||
<dict>
|
||||
<key>SuccessfulExit</key>
|
||||
<false/>
|
||||
<key>Crashed</key>
|
||||
<true/>
|
||||
</dict>
|
||||
<key>StandardOutPath</key>
|
||||
<string>/tmp/yabai_powellc.out.log</string>
|
||||
<key>StandardErrorPath</key>
|
||||
<string>/tmp/yabai_powellc.err.log</string>
|
||||
<key>ProcessType</key>
|
||||
<string>Interactive</string>
|
||||
<key>Nice</key>
|
||||
<integer>-20</integer>
|
||||
</dict>
|
||||
</plist>
|
||||
26
launchd/Library/LaunchAgents/homebrew.mxcl.nginx.plist
Normal file
26
launchd/Library/LaunchAgents/homebrew.mxcl.nginx.plist
Normal file
@ -0,0 +1,26 @@
|
||||
<?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>Label</key>
|
||||
<string>homebrew.mxcl.nginx</string>
|
||||
<key>LimitLoadToSessionType</key>
|
||||
<array>
|
||||
<string>Aqua</string>
|
||||
<string>Background</string>
|
||||
<string>LoginWindow</string>
|
||||
<string>StandardIO</string>
|
||||
<string>System</string>
|
||||
</array>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>/opt/homebrew/opt/nginx/bin/nginx</string>
|
||||
<string>-g</string>
|
||||
<string>daemon off;</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>WorkingDirectory</key>
|
||||
<string>/opt/homebrew</string>
|
||||
</dict>
|
||||
</plist>
|
||||
@ -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>KeepAlive</key>
|
||||
<true/>
|
||||
<key>Label</key>
|
||||
<string>homebrew.mxcl.postgresql@14</string>
|
||||
<key>LimitLoadToSessionType</key>
|
||||
<array>
|
||||
<string>Aqua</string>
|
||||
<string>Background</string>
|
||||
<string>LoginWindow</string>
|
||||
<string>StandardIO</string>
|
||||
<string>System</string>
|
||||
</array>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>/opt/homebrew/opt/postgresql@14/bin/postgres</string>
|
||||
<string>-D</string>
|
||||
<string>/opt/homebrew/var/postgresql@14</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>StandardErrorPath</key>
|
||||
<string>/opt/homebrew/var/log/postgresql@14.log</string>
|
||||
<key>StandardOutPath</key>
|
||||
<string>/opt/homebrew/var/log/postgresql@14.log</string>
|
||||
<key>WorkingDirectory</key>
|
||||
<string>/opt/homebrew</string>
|
||||
</dict>
|
||||
</plist>
|
||||
25
launchd/Library/LaunchAgents/homebrew.mxcl.skhd.plist
Normal file
25
launchd/Library/LaunchAgents/homebrew.mxcl.skhd.plist
Normal file
@ -0,0 +1,25 @@
|
||||
<?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>Label</key>
|
||||
<string>homebrew.mxcl.skhd</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>/opt/homebrew/opt/skhd/bin/skhd</string>
|
||||
</array>
|
||||
<key>EnvironmentVariables</key>
|
||||
<dict>
|
||||
<key>PATH</key>
|
||||
<string>/opt/homebrew/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
|
||||
</dict>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>KeepAlive</key>
|
||||
<true/>
|
||||
<key>ProcessType</key>
|
||||
<string>Interactive</string>
|
||||
<key>Nice</key>
|
||||
<integer>-20</integer>
|
||||
</dict>
|
||||
</plist>
|
||||
26
launchd/Library/LaunchAgents/homebrew.mxcl.snapclient.plist
Normal file
26
launchd/Library/LaunchAgents/homebrew.mxcl.snapclient.plist
Normal file
@ -0,0 +1,26 @@
|
||||
<?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>Label</key>
|
||||
<string>homebrew.mxcl.nginx</string>
|
||||
<key>LimitLoadToSessionType</key>
|
||||
<array>
|
||||
<string>Aqua</string>
|
||||
<string>Background</string>
|
||||
<string>LoginWindow</string>
|
||||
<string>StandardIO</string>
|
||||
<string>System</string>
|
||||
</array>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>/opt/homebrew/opt/bin/snapclient</string>
|
||||
<string>-h</string>
|
||||
<string>snapcast.service</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>WorkingDirectory</key>
|
||||
<string>/opt/homebrew</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in New Issue
Block a user