-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdock.sh
More file actions
executable file
·27 lines (22 loc) · 886 Bytes
/
Copy pathdock.sh
File metadata and controls
executable file
·27 lines (22 loc) · 886 Bytes
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
#!/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
# 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."