diff --git a/setup-dock.sh b/setup-dock.sh index 6a03cab..8189d2d 100755 --- a/setup-dock.sh +++ b/setup-dock.sh @@ -1,5 +1,8 @@ #!/bin/bash set +e -defaults delete com.apple.dock persistent-apps && killall Dock +defaults delete com.apple.dock persistent-apps >/dev/null 2>&1 || true +# Default height probably floor(160 / 2 - 11) = 69 +defaults write com.apple.dock tilesize -int 29 +killall Dock set -e