-
Notifications
You must be signed in to change notification settings - Fork 2
/
dock.sh
executable file
·29 lines (24 loc) · 949 Bytes
/
dock.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
#
# Command line tool for managing dock items
# Check out https://github.com/kcrawford/dockutil for more details
# Configure apps you want to set in dock
source ./scripts/utils.sh
echo_info "Setting Dock..."
# Install dockutil
# brew install dockutil
# Temporary fix:
brew install hpedrorodrigues/tools/dockutil
# Dock settings
dockutil --no-restart --remove all
dockutil --no-restart --add "/System/Applications/Launchpad.app"
dockutil --no-restart --add "/System/Applications/Mail.app"
dockutil --no-restart --add "/Applications/Safari.app"
dockutil --no-restart --add "/Applications/Google Chrome.app"
dockutil --no-restart --add "/Applications/Visual Studio Code.app"
dockutil --no-restart --add "/System/Applications/Utilities/Terminal.app"
dockutil --no-restart --add "/System/Applications/Reminders.app"
dockutil --no-restart --add "/System/Applications/Notes.app"
killall Dock
# Finish
echo_success "Dock settings updated."