Created
November 18, 2013 04:47
-
-
Save danijeljw/7522700 to your computer and use it in GitHub Desktop.
Bash script to change the Dock from 2D to 3D and vice-versa. Works in OS X 10.8.x and below.
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 | |
dock2d3d=$(defaults read com.apple.dock | grep "no-glass") | |
if [ $dock2d3d == "\"no=glass\" = 0;" ] | |
then | |
defaults write com.apple.dock no-glass -boolean YES && killall Dock | |
else | |
defaults write com.apple.dock no-glass -boolean NO && killall Dock | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment