-
Notifications
You must be signed in to change notification settings - Fork 0
/
dock.sh
executable file
·17 lines (15 loc) · 924 Bytes
/
dock.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash
dockutil --no-restart --remove all
dockutil --no-restart --add "/Applications/iTerm.app"
dockutil --no-restart --add "/Applications/Google Chrome.app"
dockutil --no-restart --add "/Applications/Mimestream.app"
dockutil --no-restart --add "/Applications/Microsoft Outlook.app"
dockutil --no-restart --add "/Applications/Cron.app"
dockutil --no-restart --add "/Applications/Visual Studio Code.app"
dockutil --no-restart --add "/Applications/Sublime Text.app"
dockutil --no-restart --add "/Applications/Spotify.app"
dockutil --no-restart --add "/System/Applications/System Preferences.app"
[ -d "$DOTFILES_DIR" ] && dockutil --no-restart --add "$DOTFILES_DIR" --view grid --display folder --sort kind
[ -d "$HOME/Drive" ] && dockutil --no-restart --add "$HOME/Drive" --view grid --display folder --sort kind
dockutil --no-restart --add "/Applications" --view grid --display folder --sort name
killall Dock