Skip to content

Instantly share code, notes, and snippets.

@miles
Last active August 27, 2015 21:33

Revisions

  1. miles revised this gist Aug 27, 2015. 1 changed file with 2 additions and 3 deletions.
    5 changes: 2 additions & 3 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -6,15 +6,14 @@
    #
    # Compatible with OSX 10.10. See http://www.defaults-write.com/tag/10-10/
    # Miles Forrest <[email protected]>
    #

    # Changing the Dock
    # disable hiding delay
    defaults write com.apple.dock autohide-delay -float 0
    # revert: defaults delete com.apple.dock autohide-delay;killall Dock
    # revert: defaults delete com.apple.dock autohide-delay; killall Dock

    # display only active applications
    defaults write com.apple.dock static-only -bool TRUE
    # revert: defaults write com.apple.dock static-only -bool FALSE
    # revert: defaults write com.apple.dock static-only -bool FALSE; killall Dock

    killall Dock
  2. miles revised this gist Aug 27, 2015. 1 changed file with 5 additions and 6 deletions.
    11 changes: 5 additions & 6 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -8,14 +8,13 @@
    # Miles Forrest <[email protected]>
    #

    ### modifications to the Dock
    # Changing the Dock
    # disable hiding delay
    defaults write com.apple.dock autohide-delay -float 0
    # revert: defaults delete com.apple.dock autohide-delay;killall Dock

    # disable animations
    defaults write com.apple.dock launchanim -bool false
    # revert: defaults write com.apple.dock launchanim -bool true

    # display only active applications
    defaults write com.apple.dock static-only -bool TRUE
    defaults write com.apple.dock static-only -bool TRUE
    # revert: defaults write com.apple.dock static-only -bool FALSE

    killall Dock
  3. miles created this gist Aug 27, 2015.
    21 changes: 21 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    #!/bin/bash
    # Run on each machine I have access to as a new user. Don't like Apple's nanny attitude on how my
    # computer should behave. Do it my way OSX! You're here to serve me, not the other way around.
    #
    # Thank you Ryan Davis for the inspiration for this https://gist.github.com/zenspider/7004934
    #
    # Compatible with OSX 10.10. See http://www.defaults-write.com/tag/10-10/
    # Miles Forrest <[email protected]>
    #

    ### modifications to the Dock
    # disable hiding delay
    defaults write com.apple.dock autohide-delay -float 0
    # revert: defaults delete com.apple.dock autohide-delay;killall Dock

    # disable animations
    defaults write com.apple.dock launchanim -bool false
    # revert: defaults write com.apple.dock launchanim -bool true

    # display only active applications
    defaults write com.apple.dock static-only -bool TRUE