diff options
Diffstat (limited to 'run_macos_dock.sh.tmpl')
-rw-r--r-- | run_macos_dock.sh.tmpl | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/run_macos_dock.sh.tmpl b/run_macos_dock.sh.tmpl index 231fb22..db87fbd 100644 --- a/run_macos_dock.sh.tmpl +++ b/run_macos_dock.sh.tmpl @@ -2,15 +2,10 @@ set -e -# TODO: Move the lookPath defaults and OS check to chezmoi ignore level -{{ if eq .chezmoi.os "darwin" -}} -if which defaults &>/dev/null; then - defaults write com.apple.dock autohide-time-modifier -float 0.25 - defaults write com.apple.dock autohide-delay -float 0 - defaults write com.apple.dock orientation -string left - defaults write com.apple.dock show-recents -bool false - defaults write com.apple.dock autohide -bool true - defaults write com.apple.dock tilesize -float 50.0 - killall Dock -fi -{{ end }} +defaults write com.apple.dock autohide-time-modifier -float 0.25 +defaults write com.apple.dock autohide-delay -float 0 +defaults write com.apple.dock orientation -string left +defaults write com.apple.dock show-recents -bool false +defaults write com.apple.dock autohide -bool true +defaults write com.apple.dock tilesize -float 50.0 +killall Dock |