From 53d5ac2b2ad2a08a9ca56b6ef1f81eee3d5e50c5 Mon Sep 17 00:00:00 2001 From: Yasmin Teles Date: Thu, 8 Aug 2024 17:53:26 -0300 Subject: [PATCH] feat: add Dock configs --- brew/Brewfile | 1 + macos/defaults.sh | 20 ++++++++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/brew/Brewfile b/brew/Brewfile index 975548e..3b68113 100644 --- a/brew/Brewfile +++ b/brew/Brewfile @@ -6,6 +6,7 @@ tap "homebrew/services" brew "stow" brew "git" brew "shellcheck" +brew "dockutil" # Terminal brew "spaceship" diff --git a/macos/defaults.sh b/macos/defaults.sh index f2cac79..63f4193 100644 --- a/macos/defaults.sh +++ b/macos/defaults.sh @@ -46,6 +46,22 @@ defaults write NSGlobalDomain AppleShowAllExtensions -bool true # Disable recent tags section in Finder. defaults write com.apple.Finder ShowRecentTags -bool false -# Restarts cfprefsd and Finder -killAll cfprefsd +# Restart Finder killAll Finder + +############################################################################### +# Dock, Dashboard, and hot corners # +############################################################################### + +# Add my favorite applications in the Dock +dockutil --no-restart --remove all +dockutil --no-restart --add "/Applications/Spotify.app" +dockutil --no-restart --add "/Applications/Notion.app" +dockutil --no-restart --add "/Applications/Notion Calendar.app" +dockutil --no-restart --add "/Applications/Slack.app" +dockutil --no-restart --add "/Applications/Google Chrome.app" +dockutil --no-restart --add "/Applications/Visual Studio Code.app" +dockutil --no-restart --add "/Applications/iTerm.app" + +# Restart Dock +killall Dock