Skip to content

Instantly share code, notes, and snippets.

@mbierman
Last active August 11, 2022 02:24
Show Gist options
  • Save mbierman/d3202e5a4745ab589ad55338c68fefd4 to your computer and use it in GitHub Desktop.
Save mbierman/d3202e5a4745ab589ad55338c68fefd4 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "Making windows movable by CTRL-⌘"
defaults write -g NSWindowShouldDragOnGesture -bool true
# The dock on your Mac can sometimes feel too crowded. One way to fix that is by hiding all inactive apps from the dock. You can do this with a simple Terminal command.
echo "cleaning dock"
defaults write com.apple.dock static-only -bool true; killall Dock
# Add an option that lets you quit the app (which means relaunch in the case of Finder) from the menu bar. Use this command to get the job done:
echo "add 'Quit' to finder"
defaults write com.apple.Finder QuitMenuItem 1; killall Finder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment