From 2e8d64adbc53e2fc60c3f40129bd362417f6714e Mon Sep 17 00:00:00 2001 From: Greg Cobb Date: Tue, 3 Apr 2018 17:18:12 -0700 Subject: [PATCH] Use a smaller dock Signed-off-by: Eric Promislow --- setup-dock.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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