Last active
September 26, 2018 15:31
-
-
Save sijojlouis/5ec7e38bebd2e51c10cb90b14bc54986 to your computer and use it in GitHub Desktop.
Script for adding "space" separator to Dock in macOS.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script for adding "space" separator to Dock in macOS. | |
# Before running make the file "macos_dock_spacing" executable. | |
# In the terminal, run | |
# $ chmod 700 macos_dock_spacing | |
# then run from the terminal as | |
# $ ./macos_dock_spacing | |
echo | |
echo Adding space to dock... Done! | |
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="small-spacer-tile";}' | |
echo Refresh dock... Done! | |
killall Dock | |
echo | |
echo -e \*\*'\t' You\'ll find it on the right most side of the dock, '\t\t'\*\* | |
echo -e \*\*'\t' just before the separator. Move it to where you need '\t\t'\*\* | |
echo -e \*\*'\t' to space, like you would move an app icon on the dock. '\t'\*\* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment