-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.dock_scpt
57 lines (53 loc) · 2.6 KB
/
.dock_scpt
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#! /usr/local/bin/bash
# # * Set Dock application placement (dependency -> brew install dockutil)
dockutil --remove all --no-restart
dockutil --add '/Applications/System Preferences.app' --no-restart
dockutil --add '/Applications/iTerm.app' --no-restart
dockutil --add '/Applications/Visual Studio Code.app' --no-restart
dockutil --add '' --type spacer --section apps --no-restart
dockutil --add '/Applications/Logic Pro X.app' --no-restart
dockutil --add '/Applications/Live Home 3D Pro.app' --no-restart
dockutil --add '/Applications/Photoshop.app' --no-restart
dockutil --add '/Applications/PhotoScapeX.app' --no-restart
dockutil --add '' --type spacer --section apps --no-restart
dockutil --add '/Applications/TIDAL.app' --no-restart
dockutil --add '/Applications/Spotify.app' --no-restart
dockutil --add '/Applications/VOX.app' --no-restart
dockutil --add '/Applications/Google Play Music Desktop Player.app' --no-restart
dockutil --add '/Applications/Music.app' --no-restart
dockutil --add '' --type spacer --section apps --no-restart
dockutil --add '/Applications/Podcasts.app' --no-restart
dockutil --add '/Applications/Books.app' --no-restart
dockutil --add '' --type spacer --section apps --no-restart
dockutil --add '/Applications/Google Chrome.app' --no-restart
dockutil --add '/Applications/Trello.app' --no-restart
dockutil --add '/Applications/draw.io.app' --no-restart
dockutil --add '/Applications/News.app' --no-restart
dockutil --add '/Applications/Twitterrific.app' --no-restart
dockutil --add '/Applications/Slack.app' --no-restart
dockutil --add '' --type spacer --section apps --no-restart
dockutil --add '/Applications/Contacts.app' --no-restart
dockutil --add '/Applications/Messages.app' --no-restart
dockutil --add '/Applications/Signal.app' --no-restart
dockutil --add '/Applications/Spark.app' --no-restart
dockutil --add '/Applications/FaceTime.app' --no-restart
dockutil --add '' --type spacer --section apps --no-restart
dockutil --add '/Applications/Photos.app' --no-restart
dockutil --add '/Applications/Calendar.app' --no-restart
dockutil --add '' --type spacer --section apps --no-restart
dockutil --add '/Applications/App Store.app' --no-restart
dockutil --add '/Applications/TV.app' --no-restart
dockutil --add '/Applications/Epic Games Launcher.app' --no-restart
defaults write com.apple.dock tilesize -int 50
killall dock
# # * filepath = '/Applications'
# loop through $apps
# # * dockutil --add "$filepath"/"$app".app --no-restart
# # * defaults write com.apple.dock tilesize -int 50
# # * killall dock
# remove all except app_name
# # * (.*)(file)(.*)
# # * $1
# cut trailing whitespace
# # * [ \t]+$
# (leave blank)