mirror of
https://github.com/danbee/mac-setup
synced 2025-03-04 08:39:10 +00:00
15 lines
475 B
Bash
Executable File
15 lines
475 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Ask the user to generate a code signing key for `chunkwm`
|
|
echo "Please generate a code signing certificate called 'chunkwm-cert' in Keychain Access"
|
|
read -r -p "Press any key to continue... " -n 1
|
|
|
|
# We need to code sign chunkwm and skhd in order for them to be added to the
|
|
# accessibility allowed list.
|
|
codesign -fs "chunkwm-cert" $(which chunkwm)
|
|
codesign -fs "chunkwm-cert" $(which skhd)
|
|
|
|
# Start chunkwm
|
|
brew services start chunkwm
|
|
brew services start skhd
|