1
0
mirror of https://github.com/danbee/mac-setup synced 2025-03-04 08:39:10 +00:00
mac-setup/lib/chunkwm.sh
2019-04-16 14:10:52 -04:00

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