darwin fix dock

This commit is contained in:
Noah Masur 2022-06-19 17:30:32 -04:00
parent 7861f9ec3a
commit a8f497e226
2 changed files with 2 additions and 5 deletions

View File

@ -19,6 +19,7 @@
"gitify" # Git notifications in menu bar
"logitech-g-hub" # Mouse and keyboard management
"mimestream" # Gmail client
"obsidian" # Obsidian packaging on Nix is not available for MacOS
];
global.brewfile = true; # Run brew bundle from anywhere
global.noLock = true; # Don't save lockfile (since running from anywhere)

View File

@ -148,7 +148,7 @@
}
defaults write com.apple.dock persistent-apps -array \
"$(__dock_item /Applications/1Password\ 7.app)" \
"$(__dock_item /Applications/1Password.app)" \
"$(__dock_item /Applications/Slack.app)" \
"$(__dock_item /System/Applications/Calendar.app)" \
"$(__dock_item /Applications/Firefox.app)" \
@ -160,10 +160,6 @@
"$(__dock_item /Applications/Alacritty.app)" \
"$(__dock_item /System/Applications/System\ Preferences.app)"
echo "Turn on Scroll Reverser"
open /Applications/Scroll\ Reverser.app
osascript -e 'tell application "System Events" to make login item at end with properties {path:"/Applications/Scroll Reverser.app", hidden:false}'
echo "Allow apps from anywhere"
SPCTL=$(spctl --status)
if ! [ "$SPCTL" = "assessments disabled" ]