Over a million developers have joined DZone.

Dock 2D/3D

·
// Switch Dock 2D / 3D


#!/bin/sh
CURRENT=`defaults read com.apple.dock no-glass`
case $CURRENT in
    0)
        OPTION='YES'
        ;;
    1) 
        OPTION='NO'
        ;;
    *)
        OPTION='YES'
        ;;
esac

defaults write com.apple.dock no-glass -boolean $OPTION
killall Dock
echo "Restarting dock..."



Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}