Last active
December 22, 2020 00:46
-
-
Save Tahul/7bac932d47296b4a24435421525bdd74 to your computer and use it in GitHub Desktop.
[MacOS Enable Or Disable Dock] Simple command aliases to toggle MacOS Dock. #macos #terminal #dock #toggle #alias
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
# This is intended to be added inside a sourced file in your shell, such as ~/.bash_profile. | |
# If you want to use the command once, you can copy the text between the quotes inside your terminal. | |
# Disable dock alias | |
alias disable_dock="defaults write com.apple.dock autohide-delay -float 1000; killall Dock" | |
# Enable dock | |
alias enable_dock="defaults delete com.apple.dock autohide-delay; killall Dock" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment