Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions scripts/system-setup/fix-finder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ fixfinder () {
printf "%b\n" "${CYAN}Showing all filename extensions in Finder...${RC}"
$ESCALATION_TOOL defaults write NSGlobalDomain AppleShowAllExtensions -bool true

# Set the sidebar icon size to small
printf "%b\n" "${CYAN}Setting sidebar icon size to small...${RC}"
$ESCALATION_TOOL defaults write NSGlobalDomain NSTableViewDefaultSizeMode -int 1

# Show status bar in Finder
printf "%b\n" "${CYAN}Showing status bar in Finder...${RC}"
$ESCALATION_TOOL defaults write com.apple.finder ShowStatusBar -bool true
Expand All @@ -55,12 +51,11 @@ fixfinder () {
printf "%b\n" "${CYAN}Cleaning up Finder's sidebar...${RC}"
$ESCALATION_TOOL defaults write com.apple.finder SidebarDevicesSectionDisclosedState -bool true
$ESCALATION_TOOL defaults write com.apple.finder SidebarPlacesSectionDisclosedState -bool true
$ESCALATION_TOOL defaults write com.apple.finder SidebarShowingiCloudDesktop -bool false


# Restart Finder to apply changes
printf "%b\n" "${GREEN}Finder has been restarted and settings have been applied.${RC}"
$ESCALATION_TOOL killall Finder
}

checkEnv
fixfinder
fixfinder