Update .local/share/chezmoi/home/.chezmoiscripts/darwin/run_onchange_after_10_configure-macos.tmpl

This commit is contained in:
Brian Zalewski 2022-12-05 05:52:54 +00:00
parent a3c41fcbae
commit e46b713f4d

View file

@ -1,12 +1,12 @@
#!/usr/bin/env bash
set -x
{{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }}
logg 'Applying optimized macOS settings'
set -x
# Close any open System Preferences panes, to prevent them from overriding
# settings were about to change
osascript -e 'tell application "System Preferences" to quit'
@ -937,5 +937,7 @@ for app in "Activity Monitor" \
killall "${app}" &> /dev/null
done
set +x
logg 'Done applying macOS settings'
logg info 'Some of these changes may require a logout/restart to take effect'