diff --git a/README.md b/README.md index df9eed9..6f6481d 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ ---

-๐Ÿ’ป A bash script to install and configure macOS after a clean install. +๐Ÿ’ป A shell script to install and configure macOS.

@@ -25,11 +25,10 @@ - [Table of content](#table-of-content) - [About](#about) -- [How it works](#how-it-works) - [Getting Started](#getting-started) - - [Prerequisites](#prerequisites) - - [Installing](#installing) - - [More apps](#more-apps) +- [Prerequisites](#prerequisites) +- [Installing](#installing) +- [More apps](#more-apps) - [Roadmap](#roadmap) - [Contributing](#contributing) - [Acknowledgements](#acknowledgements) @@ -44,45 +43,52 @@ To do this I dove deep down into several repositories (see [Acknowledgements](#a The basic idea behind this project is that the setup and configuration of a new Mac should be as smooth, simple and fast as possible. For this reason there is just one script that prompts a menu from which you chose what kind of profile you want to install on your Mac. Each profile has different apps/options but everyone shares a "core" function that install basic apps, dependencies or binaries. So no matter if you're a developer or a graphic designer, your Mac will be run just fine. -You can check [__here__](https://github.com/MarioCatuogno/Clean-macOS/blob/master/doc/PROFILES.md) a complete list of apps installed with each profile. - -## How it works - -โš ๏ธ WIP - ## Getting Started -โš ๏ธ WIP +You need an active internet connection and one of the following macOS version: -### Prerequisites +* macOS 10.12 "Sierra" +* macOS 10.13 "High Sierra" +* macOS 10.14 "Mojave" +* macOS 10.15 "Catalina" -โš ๏ธ WIP +## Prerequisites -1. Do a fresh install of macOS (version 10.10+) +1. Do a fresh install of macOS (version 10.12+) 2. Download the project with the following command `git clone https://github.com/MarioCatuogno/Clean-macOS.git ~/cleanMacOS` -3. Choose a configuration file from `~/cleanMacOS/config` and copy it into `~/cleanMacOS/setup` +3. Choose a configuration file from `~/cleanMacOS/config`, copy it into `~/cleanMacOS/` and rename as `Brewfile` -### Installing +## Installing + +Open __Terminal.app__ and run the following command `./~/cleanMacOS/setup/install.sh`, the following promtp will appear from which you can choose one of the options: + +

+ + Clean-macOS terminal
+

-โš ๏ธ WIP +1. `Install Homebrew`: install Homebrew package and dependencies +2. `Install Applications`: install binaries, cask and Mac Apple Store application listed in profile files +3. `Configure macOS`: configure macOS with useful commands +4. `Update`: update brews, casks and MAS applications and formulaes -Open __Terminal.app__ and run the following command `./~/cleanMacOS/setup/install.sh` +If you are doing a fresh install, run all the commands in the sequence above. -### More apps +## More apps -Click [__here__](https://github.com/MarioCatuogno/Clean-macOS/blob/master/doc/apps_list.md) to find a collection of various apps I've personally tested or used in the past on macOS. +Click [__here__](https://github.com/MarioCatuogno/Clean-macOS/blob/master/doc/APPS_LIST.md) to find a collection of various apps I've personally tested or used in the past on macOS. -Click [__here__](https://github.com/MarioCatuogno/Clean-macOS/blob/master/doc/apps_removed.md) to find a list of all apps used in previous script versions. +Click [__here__](https://github.com/MarioCatuogno/Clean-macOS/blob/master/doc/APPS_REMOVED.md) to find a list of all apps used in previous script versions. ## Roadmap To check the current status and the upcoming milestones of the Clean-macOS project, click [__here__](https://github.com/MarioCatuogno/Clean-macOS/projects/8). -For the full changelog history, click [__here__](https://github.com/MarioCatuogno/Clean-macOS/blob/master/CHANGELOG.md). +For the full changelog history, click [__here__](https://github.com/MarioCatuogno/Clean-macOS/blob/master/doc/CHANGELOG.md). ## Contributing -You are encouraged to fork this repository and to open issue to discuss the change you wish to make. If you want to actively contribute, click [__here__](https://github.com/MarioCatuogno/Clean-macOS/blob/master/CONTRIBUTING.md) for guidelines. +You are encouraged to fork this repository and to open issue to discuss the change you wish to make. If you want to actively contribute, click [__here__](https://github.com/MarioCatuogno/Clean-macOS/blob/master/doc/CONTRIBUTING.md) for guidelines. If you find it useful, please star or tell others about this repo. @@ -94,6 +100,7 @@ If you find it useful, please star or tell others about this repo. --- -โš ๏ธ WIP - - +

+ + Clean-macOS desktop
+

diff --git a/bin/basic.sh b/bin/basic.sh deleted file mode 100644 index 2744b3b..0000000 --- a/bin/basic.sh +++ /dev/null @@ -1,293 +0,0 @@ -#!/bin/bash - -# DATE: 2019-10-31 -# VERSION: 1.8.0 - -############################################################################### -# Launch script # -############################################################################### - -# Entering as Root -printf "Enter root password...\n" -sudo -v - -# Keep alive Root -while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & - -############################################################################### -# Install HomeBrew # -############################################################################### - -# Install XCode Command Line Tools -printf "๐Ÿ—๏ธ Install XCode CL tools...\n" -xcode-select --install - -# Install Brew -printf "๐Ÿ—๏ธ Check Brew...\n" -if test ! $(which brew); then - echo "๐Ÿ—๏ธ Install Homebrew..." - ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" -else -exit -fi - -# Check Brews -brew doctor && brew update && brew upgrade - -# Tap Repositories -printf "๐Ÿ—๏ธ Install Brew Cask and MAS..." -brew install mas -brew tap homebrew/cask-fonts - -############################################################################### -# Install Binaries and utils # -############################################################################### - -# ๏ธโš™๏ธ Binary -printf "โš™๏ธ Install Binaries...\n" -brew install ack -brew install bash -brew install coreutils -brew install dockutil -brew install gzip -brew install htop -brew install imagemagick -brew install nano -brew install neofetch -brew install prettyping -brew install tldr -brew install tree -brew install wget -brew install wifi-password -brew install youtube-dl - -# โš™๏ธ Install Quicklook plugins -printf "โš™๏ธ Install Quicklook plugins...\n" -brew cask install qlcolorcode -brew cask install qlmarkdown -brew cask install qlstephen -brew cask install qlvideo -brew cask install quicklook-csv -brew cask install quicklook-json - -############################################################################### -# Install Brews # -############################################################################### - -# ๐Ÿ› ๏ธ Developer Tools -printf "๐Ÿ› ๏ธ Install iTerm2.app...\n" -brew cask install --appdir="/Applications" iterm2 - -# ๐Ÿฟ Entertainment -printf "๐Ÿฟ Install VLC.app...\n" -brew cask install --appdir="/Applications" vlc - -# ๐Ÿ’ฌ Fonts - -# ๐ŸŽฒ Games - -# ๐Ÿž๏ธ Graphics & Design - -# ๐Ÿงญ Navigation -printf "๐Ÿงญ Install Ecosia.app...\n" -mas install 1463400445 - -printf "๐Ÿงญ Install Google Chrome.app...\n" -brew cask install --appdir="/Applications" google-chrome - -printf "๐Ÿงญ Install Transmission.app...\n" -brew cask install --appdir="/Applications" transmission - -# ๐Ÿ“ Productivity - -# ๐Ÿ”‘ Security - -# ๐Ÿฅณ Social -printf "๐Ÿงฎ Install Whatsapp.app...\n" -brew cask install --appdir="/Applications" whatsapp - -# ๐Ÿงฎ Utilities -printf "๐Ÿงฎ Install Amphetamine.app...\n" -mas install 937984704 - -printf "๐Ÿงฎ Install App Cleaner.app...\n" -brew cask install --appdir="/Applications" appcleaner - -printf "๐Ÿงฎ Install Cheatsheet.app...\n" -brew cask install --appdir="/Applications" cheatsheet - -printf "๐Ÿงฎ Install Google Backup and Sync.app...\n" -brew cask install --appdir="/Applications" google-backup-and-sync - -printf "๐Ÿงฎ Install The Unarchiever.app...\n" -mas install 425424353 - -############################################################################### -# Configure Terminal # -############################################################################### - -# ๐ŸŽ›๏ธ Install Zsh [1/3] -printf "๐ŸŽ›๏ธ Install Zsh...\n" -sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" - -# ๐ŸŽ›๏ธ Download Zsh plugins [2/3] -printf "๐ŸŽ›๏ธ Download Zsh plugins...\n" -git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions -git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting -git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions - -# ๐ŸŽ›๏ธ Update Zsh settings [3/3] -printf "๐ŸŽ›๏ธ Update Zsh settings...\n" -sudo rm -rf ~/.zshrc > /dev/null 2>&1 -curl https://raw.githubusercontent.com/MarioCatuogno/Clean-macOS/master/config/.zshrc -o ~/.zshrc - -############################################################################### -# Install Config files # -############################################################################### - -# ๐ŸŽ›๏ธ Download iTerm2 plugins [1/1] -printf "๐ŸŽ›๏ธ Download iTerm2 plugins...\n" -curl https://raw.githubusercontent.com/MarioCatuogno/Clean-macOS/master/config/ayu-dark.itermcolors -o ~/Downloads/ayu-dark.itermcolors && open ~/Downloads/ayu-dark.itermcolors -curl https://raw.githubusercontent.com/MarioCatuogno/Clean-macOS/master/config/ayu-light.itermcolors -o ~/Downloads/ayu-light.itermcolors && open ~/Downloads/ayu-light.itermcolors -curl https://raw.githubusercontent.com/MarioCatuogno/Clean-macOS/master/config/ayu-mirage.itermcolors -o ~/Downloads/ayu-mirage.itermcolors && open ~/Downloads/ayu-mirage.itermcolors - -############################################################################### -# Configure macOS: Dock # -############################################################################### - -printf "Configuring Dock...\n" -printf "Dock: set icon size\n" -defaults write com.apple.dock tilesize -int 40 -printf "Dock: remove animation\n" -defaults write com.apple.dock autohide-time-modifier -float 0 -defaults write com.apple.dock autohide-delay -float 0 - -############################################################################### -# Configure macOS: Finder # -############################################################################### - -printf "Configuring Finder...\n" -printf "Finder: show file extension\n" -defaults write -g AppleShowAllExtensions -bool true -printf "Finder: show hidden files\n" -defaults write com.apple.finder AppleShowAllFiles true -printf "Finder: show Library folder\n" -chflags nohidden ~/Library -printf "Finder: show path bar\n" -defaults write com.apple.finder ShowPathbar -bool true -printf "Finder: set current folder as default search\n" -defaults write com.apple.finder FXDefaultSearchScope -string "SCcf" -printf "Finder: set list view by default\n" -defaults write com.apple.finder FXPreferredViewStyle -string "Nlsv" -printf "Finder: keep folders on top\n" -defaults write com.apple.finder _FXSortFoldersFirst -bool true -printf "Finder: disable creation of metadata files on Network and USB\n" -defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true -defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true -printf "Finder: remove open-with duplicates\n" -/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user -printf "Finder: save screenshots in PNG format\n" -mkdir ${HOME}/Pictures/Screenshots -defaults write com.apple.screencapture location -string "${HOME}/Pictures/Screenshots" -defaults write com.apple.screencapture type -string "png" -printf "Finder: show HD icons on Desktop\n" -defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true -defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true -defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true -printf "Finder: set sidebar icon size to medium\n" -defaults write NSGlobalDomain NSTableViewDefaultSizeMode -int 2 -printf "Finder: show full path\n" -defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES -printf "Finder: turn off window opening animation\n" -defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false -printf "Finder: turn off file info animation\n" -defaults write com.apple.finder DisableAllAnimations -bool true - -############################################################################### -# Configure macOS: Keyboard # -############################################################################### - -printf "Configuring Keyboard...\n" -printf "Keyboard: disable auto-correct\n" -defaults write -g NSAutomaticSpellingCorrectionEnabled -bool false -printf "Keyboard: enable key-repeat\n" -defaults write -g ApplePressAndHoldEnabled -bool false -printf "Keyboard: set repeat rate to 2\n" -defaults write -g KeyRepeat -int 2 -printf "Keyboard: disable automatic capitalization\n" -defaults write -g NSAutomaticCapitalizationEnabled -bool false -printf "Keyboard: disable automatic period substitution\n" -defaults write -g NSAutomaticPeriodSubstitutionEnabled -bool false -printf "Keyboard: disable smart dashes\n" -defaults write -g NSAutomaticDashSubstitutionEnabled -bool false -printf "Keyboard: disable smart quotes\n" -defaults write -g NSAutomaticQuoteSubstitutionEnabled -bool false -printf "Keyboard: disable cotninuous spell checking\n" -defaults write com.apple.messageshelper.MessageController SOInputLineSettings -dict-add "continuousSpellCheckingEnabled" -bool false - -############################################################################### -# Configure macOS: Safari # -############################################################################### - -printf "Configuring Safari.app...\n" -printf "Safari: disable Apple send queries\n" -defaults write com.apple.Safari UniversalSearchEnabled -bool false -defaults write com.apple.Safari SuppressSearchSuggestions -bool true -printf "Safari: disable auto-correct\n" -defaults write com.apple.Safari WebAutomaticSpellingCorrectionEnabled -bool false - -############################################################################### -# Configure macOS: TextEdit # -############################################################################### - -printf "Configuring TextEdit.app...n" -printf "TextEdit: use plain text mode for new documents\n" -defaults write com.apple.TextEdit RichText -int 0 -printf "TextEdit: open and save files as UTF-8 encoding\n" -defaults write com.apple.TextEdit PlainTextEncoding -int 4 -defaults write com.apple.TextEdit PlainTextEncodingForWrite -int 4 - -############################################################################### -# Configure macOS: Trackpad # -############################################################################### - -printf "Configuring Trackpad...\n" -printf "Trackpad: enable tap to click\n" -defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true -defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 -defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 -printf "Trackpad: disable Natural scrolling\n" -defaults write NSGlobalDomain com.apple.swipescrolldirection -bool false - -############################################################################### -# Configure macOS: Various # -############################################################################### - -printf "Configuring various stuff...\n" -printf "AppStore: check for software updates daily\n" -defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1 -printf "Game Center: disable Game Center\n" -defaults write com.apple.gamed Disabled -bool true -printf "Monitor: fix blurry fonts on lower resolution monitor\n" -defaults -currentHost write -globalDomain AppleFontSmoothing -int 2 -printf "SSD: Disable hibernation\n" -sudo pmset -a hibernatemode 0 -printf "Security: Enable firewall\n" -sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on -printf "TimeMachine: prevent from prompting to use new hard drives as backup volume\n" -defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true - -############################################################################### -# Final touches # -############################################################################### - -# Cleanup -printf "Cleanup and final touches...\n" -brew update && brew upgrade && brew cleanup && brew doctor && mas upgrade - -#Exit script -printf "Done. Some of these changes require a restart to take effect\n" -sudo shutdown -r +1 - -#Exit script -exit diff --git a/bin/cleanMacOs.sh b/bin/cleanMacOs.sh deleted file mode 100644 index 2294dbf..0000000 --- a/bin/cleanMacOs.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -# DATE: 2019-10-31 -# VERSION: 1.8.0 - -############################################################################### -# Launch script # -############################################################################### - -# Entering as Root -printf "Enter root password...\n" -sudo -v - -# Keep alive Root -while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & - -#!/bin/bash -while IFS="" read -r p || [ -n "$p" ] -do - printf '%s\n' "Installing $p..." - printf '%s\n' "Ciao!" -done < /Users/mariocatuogno/Desktop/testo.txt diff --git a/bin/config.sh b/bin/config.sh index ccc75f2..56fea4c 100644 --- a/bin/config.sh +++ b/bin/config.sh @@ -1,43 +1,247 @@ #!/bin/bash -# NAME: Clean macOS CONFIG script -# DESC: Setup a clean environment for your Mac operating system -# DATE: 2019-08-28 -# VERSION: 1.7.0 +# DATE: 2019-12-31 +# VERSION: 1.9.0 ############################################################################### -# Define Variables # +# Set variables # ############################################################################### -RED='\033[0;41;30m' -STD='\033[0;0;39m' +BIN=~/cleanMacOS/bin # shell scripts +CONFIG=~/cleanMacOS/config # configuration files directory +SETUP=~/cleanMacOS # root folder of cleanMacOS ############################################################################### -# Menu # +# Launch script # ############################################################################### -while : -do - clear - cat</dev/null & - (1) Install - (2) Update - (3) Exit - ------------------------------ -EOF - read -n1 -s - case "$REPLY" in - "1") echo "Ready to install..." | ~/Documents/Clean-macOS/bin/setup.sh ;; - "2") echo "Ready to update..." | ~/Documents/Clean-macOS/bin/update.sh ;; - "3") exit ;; - * ) echo "Invalid option!" ;; - esac - sleep 1 -done +############################################################################### +# Configure Terminal # +############################################################################### + +# โš™๏ธ Install Oh-My-Zsh [1/4] +printf "โš™๏ธ Install Zsh...\n" +sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" + +# โš™๏ธ Download Zsh plugins [2/4] +printf "โš™๏ธ Download Zsh plugins...\n" +git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions +git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting +git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions + +# โš™๏ธ Update Zsh settings [3/4] +printf "โš™๏ธ Update Zsh settings...\n" +sudo rm -rf ~/.zshrc > /dev/null 2>&1 +cp $CONFIG/.zshrc ~/.zshrc + +# โš™๏ธ Download iTerm2 plugins [4/4] +printf "โš™๏ธ Download iTerm2 plugins...\n" +open $CONFIG/ayu-dark.itermcolors +open $CONFIG/ayu-light.itermcolors +open $CONFIG/ayu-mirage.itermcolors + +############################################################################### +# Configure Text Editor # +############################################################################### + +# โš™๏ธ Download Visual Studio Code plugins [1/2] +printf "โš™๏ธ Download Visual Studio Code plugins...\n" +open -a "Visual Studio Code" +code --install-extension 77qingliu.sas-syntax +code --install-extension DavidAnson.vscode-markdownlint +code --install-extension GrapeCity.gc-excelviewer +code --install-extension HookyQR.beautify +code --install-extension JaimeOlivares.yuml +code --install-extension Tyriar.sort-lines +code --install-extension formulahendry.code-runner +code --install-extension mikestead.dotenv +code --install-extension ms-python.python +code --install-extension pnp.polacode +code --install-extension teabyii.ayu +code --install-extension yzhang.markdown-all-in-one + +# โš™๏ธ Update Visual Studio Code settings [2/2] +printf "โš™๏ธ Update Visual Studio Code settings...\n" +sudo rm -rf ~/Library/Application\ Support/Code/User/settings.json > /dev/null 2>&1 +cp $CONFIG/settings.json ~/Library/Application\ Support/Code/User/settings.json + +############################################################################### +# Configure Git # +############################################################################### + +# โš™๏ธ Update Git settings [1/1] +printf "โš™๏ธ Update Git settings...\n" +sudo rm -rf ~/.gitconfig > /dev/null 2>&1 +sudo rm -rf ~/.gitignore > /dev/null 2>&1 +cp $CONFIG/.gitignore ~/.gitignore +cp $CONFIG/.gitconfig ~/.gitconfig + +############################################################################### +# Configure Python # +############################################################################### + +# โš™๏ธ Download Python libraries [1/1] +printf "โš™๏ธ Download Python libraries...\n" +pip3 install autopep8 +pip3 install jupyter +pip3 install numpy +pip3 install organize-tool +pip3 install pandas +pip3 install pylint +pip3 install requests +pip3 install speedtest-cli +pip3 install virtualenv + +############################################################################### +# Configure macOS: Dock # +############################################################################### + +printf "โš™๏ธ Configuring Dock...\n" +printf "โš™๏ธ Dock: set icon size\n" +defaults write com.apple.dock tilesize -int 40 +printf "โš™๏ธ Dock: remove animation\n" +defaults write com.apple.dock autohide-time-modifier -float 0 +defaults write com.apple.dock autohide-delay -float 0 + +############################################################################### +# Configure macOS: Finder # +############################################################################### + +printf "โš™๏ธ Configuring Finder...\n" +printf "โš™๏ธ Finder: show file extension\n" +defaults write -g AppleShowAllExtensions -bool true +printf "โš™๏ธ Finder: show hidden files\n" +defaults write com.apple.finder AppleShowAllFiles true +printf "โš™๏ธ Finder: show Library folder\n" +chflags nohidden ~/Library +printf "โš™๏ธ Finder: show path bar\n" +defaults write com.apple.finder ShowPathbar -bool true +printf "โš™๏ธ Finder: set current folder as default search\n" +defaults write com.apple.finder FXDefaultSearchScope -string "SCcf" +printf "โš™๏ธ Finder: set list view by default\n" +defaults write com.apple.finder FXPreferredViewStyle -string "Nlsv" +printf "โš™๏ธ Finder: keep folders on top\n" +defaults write com.apple.finder _FXSortFoldersFirst -bool true +printf "โš™๏ธ Finder: disable creation of metadata files on Network and USB\n" +defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true +defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true +printf "โš™๏ธ Finder: remove open-with duplicates\n" +/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user +printf "โš™๏ธ Finder: save screenshots in PNG format\n" +mkdir ${HOME}/Pictures/Screenshots +defaults write com.apple.screencapture location -string "${HOME}/Pictures/Screenshots" +defaults write com.apple.screencapture type -string "png" +printf "โš™๏ธ Finder: show HD icons on Desktop\n" +defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true +defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true +defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true +printf "โš™๏ธ Finder: set sidebar icon size to medium\n" +defaults write NSGlobalDomain NSTableViewDefaultSizeMode -int 2 +printf "โš™๏ธ Finder: show full path\n" +defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES +printf "โš™๏ธ Finder: turn off window opening animation\n" +defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false +printf "โš™๏ธ Finder: turn off file info animation\n" +defaults write com.apple.finder DisableAllAnimations -bool true + +############################################################################### +# Configure macOS: Keyboard # +############################################################################### + +printf "โš™๏ธ Configuring Keyboard...\n" +printf "โš™๏ธ Keyboard: disable auto-correct\n" +defaults write -g NSAutomaticSpellingCorrectionEnabled -bool false +printf "โš™๏ธ Keyboard: enable key-repeat\n" +defaults write -g ApplePressAndHoldEnabled -bool false +printf "โš™๏ธ Keyboard: set repeat rate to 2\n" +defaults write -g KeyRepeat -int 2 +printf "โš™๏ธ Keyboard: disable automatic capitalization\n" +defaults write -g NSAutomaticCapitalizationEnabled -bool false +printf "โš™๏ธ Keyboard: disable automatic period substitution\n" +defaults write -g NSAutomaticPeriodSubstitutionEnabled -bool false +printf "โš™๏ธ Keyboard: disable smart dashes\n" +defaults write -g NSAutomaticDashSubstitutionEnabled -bool false +printf "โš™๏ธ Keyboard: disable smart quotes\n" +defaults write -g NSAutomaticQuoteSubstitutionEnabled -bool false +printf "โš™๏ธ Keyboard: disable cotninuous spell checking\n" +defaults write com.apple.messageshelper.MessageController SOInputLineSettings -dict-add "continuousSpellCheckingEnabled" -bool false + +############################################################################### +# Configure macOS: Various # +############################################################################### + +printf "โš™๏ธ Configuring various stuff...\n" +printf "โš™๏ธ AppStore: check for software updates daily\n" +defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1 +printf "โš™๏ธ Game Center: disable Game Center\n" +defaults write com.apple.gamed Disabled -bool true +printf "โš™๏ธ Monitor: fix blurry fonts on lower resolution monitor\n" +defaults -currentHost write -globalDomain AppleFontSmoothing -int 2 +printf "โš™๏ธ SSD: Disable hibernation\n" +sudo pmset -a hibernatemode 0 +printf "โš™๏ธ Security: Enable firewall\n" +sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on +printf "โš™๏ธ TimeMachine: prevent from prompting to use new hard drives as backup volume\n" +defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true + +############################################################################### +# Configure macOS: TextEdit # +############################################################################### + +printf "โš™๏ธ Configuring TextEdit.app...n" +printf "โš™๏ธ TextEdit: use plain text mode for new documents\n" +defaults write com.apple.TextEdit RichText -int 0 +printf "โš™๏ธ TextEdit: open and save files as UTF-8 encoding\n" +defaults write com.apple.TextEdit PlainTextEncoding -int 4 +defaults write com.apple.TextEdit PlainTextEncodingForWrite -int 4 + +############################################################################### +# Configure macOS: Safari # +############################################################################### + +printf "โš™๏ธ Configuring Safari.app...\n" +printf "โš™๏ธ Safari: disable Apple send queries\n" +defaults write com.apple.Safari UniversalSearchEnabled -bool false +defaults write com.apple.Safari SuppressSearchSuggestions -bool true +printf "โš™๏ธ Safari: disable auto-correct\n" +defaults write com.apple.Safari WebAutomaticSpellingCorrectionEnabled -bool false +printf "โš™๏ธ Safari: don't open safe files\n" +defaults write com.apple.Safari AutoOpenSafeDownloads -bool false +printf "โš™๏ธ Safari: show favorites bar\n" +defaults write com.apple.Safari ShowFavoritesBar -bool true +printf "โš™๏ธ Safari: enable develop menu\n" +defaults write com.apple.Safari IncludeDevelopMenu -bool true + +############################################################################### +# Configure macOS: Trackpad # +############################################################################### + +printf "โš™๏ธ Configuring Trackpad...\n" +printf "โš™๏ธ Trackpad: enable tap to click\n" +defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true +defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 +defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 +printf "โš™๏ธ Trackpad: disable Natural scrolling\n" +defaults write NSGlobalDomain com.apple.swipescrolldirection -bool false + +############################################################################### +# Final touches # +############################################################################### + +# Cleanup +printf "Cleanup and final touches...\n" +brew doctor && brew update && brew cleanup && brew upgrade && brew cask upgrade && mas upgrade + +#Exit script +printf "Done. Some of these changes require a restart to take effect\n" +sudo shutdown -r +1 + +#Exit script +exit \ No newline at end of file diff --git a/bin/core.sh b/bin/core.sh deleted file mode 100644 index ae7f788..0000000 --- a/bin/core.sh +++ /dev/null @@ -1,421 +0,0 @@ -#!/bin/bash - -# DATE: 2019-10-31 -# VERSION: 1.8.0 - -############################################################################### -# Launch script # -############################################################################### - -# Entering as Root -printf "Enter root password...\n" -sudo -v - -# Keep alive Root -while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & - -############################################################################### -# Install HomeBrew # -############################################################################### - -# Install XCode Command Line Tools -printf "๐Ÿ—๏ธ Install XCode CL tools...\n" -xcode-select --install - -# Install Brew -printf "๐Ÿ—๏ธ Check Brew...\n" -if test ! $(which brew); then - echo "๐Ÿ—๏ธ Install Homebrew..." - ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" -else -exit -fi - -# Check Brews -brew doctor && brew update && brew upgrade - -# Tap Repositories -printf "๐Ÿ—๏ธ Install Brew Cask and MAS..." -brew install mas -brew tap homebrew/cask-fonts - -############################################################################### -# Install Binaries and utils # -############################################################################### - -# ๏ธโš™๏ธ Binary -printf "โš™๏ธ Install Binaries...\n" -brew install ack -brew install bash -brew install coreutils -brew install dockutil -brew install gzip -brew install htop -brew install imagemagick -brew install nano -brew install neofetch -brew install prettyping -brew install tldr -brew install tree -brew install wget -brew install wifi-password -brew install youtube-dl - -# โš™๏ธ Install Quicklook plugins -printf "โš™๏ธ Install Quicklook plugins...\n" -brew cask install qlcolorcode -brew cask install qlmarkdown -brew cask install qlstephen -brew cask install qlvideo -brew cask install quicklook-csv -brew cask install quicklook-json - -############################################################################### -# Install Brews # -############################################################################### - -# ๐Ÿ› ๏ธ Developer Tools -printf "๐Ÿ› ๏ธ Install Docker.app...\n" -brew cask install --appdir="/Applications" docker - -printf "๐Ÿ› ๏ธ Install iTerm2.app...\n" -brew cask install --appdir="/Applications" iterm2 - -printf "๐Ÿ› ๏ธ Install Visual Studio Code.app...\n" -brew cask install --appdir="/Applications" visual-studio-code - -# ๐Ÿฟ Entertainment -printf "๐Ÿฟ Install Handbrake.app...\n" -brew cask install --appdir="/Applications" handbrake - -printf "๐Ÿฟ Install Helium.app...\n" -mas install 1054607607 - -printf "๐Ÿฟ Install Iina.app...\n" -brew cask install --appdir="/Applications" iina - -# ๐Ÿ’ฌ Fonts -printf "๐Ÿ’ฌ Install Comic-Neue font...\n" -brew cask install font-comic-neue - -printf "๐Ÿ’ฌ Install Fantasque Sans Mono font...\n" -brew cask install font-fantasque-sans-mono - -printf "๐Ÿ’ฌ Install Fira-code font...\n" -brew cask install font-fira-code - -printf "๐Ÿ’ฌ Install Hack font...\n" -brew cask install font-hack - -printf "๐Ÿ’ฌ Install Heavy-Data Nerd font...\n" -brew cask install font-heavydata-nerd-font - -printf "๐Ÿ’ฌ Install Lato font...\n" -brew cask install font-lato - -printf "๐Ÿ’ฌ Install Roboto font...\n" -brew cask install font-roboto - -printf "๐Ÿ’ฌ Install Ubuntu-mono Nerd font...\n" -brew cask install font-ubuntumono-nerd-font - -# ๐ŸŽฒ Games -printf "๐ŸŽฒ Install Steam.app...\n" -brew cask install --appdir="/Applications" steam - -printf "๐ŸŽฒ Install Steermouse.app...\n" -brew cask install --appdir="/Applications" steermouse - -# ๐Ÿž๏ธ Graphics & Design -printf "๐Ÿž๏ธ Install Imageoptim.app...\n" -brew cask install --appdir="/Applications" imageoptim - -printf "๐Ÿž๏ธ Install Pixelmator.app...\n" -mas install 407963104 - -# ๐Ÿงญ Navigation -printf "๐Ÿงญ Install Ecosia.app...\n" -mas install 1463400445 - -printf "๐Ÿงญ Install Google Chrome.app...\n" -brew cask install --appdir="/Applications" google-chrome - -printf "๐Ÿงญ Install Transmission.app...\n" -brew cask install --appdir="/Applications" transmission - -# ๐Ÿ“ Productivity -printf "๐Ÿ“ Install Keynote.app...\n" -mas install 409183694 - -printf "๐Ÿ“ Install Numbers.app...\n" -mas install 409203825 - -printf "๐Ÿ“ Install Pages.app...\n" -mas install 409201541 - -printf "๐Ÿ“ Install Spark.app...\n" -mas install 1176895641 - -# ๐Ÿ”‘ Security -printf "๐Ÿ”‘ Install Bitwarden.app...\n" -brew cask install --appdir="/Applications" bitwarden - -printf "๐Ÿ”‘ Install ExpressVpn.app...\n" -brew cask install --appdir="/Applications" expressvpn - -printf "๐Ÿ”‘ Install Wipr.app...\n" -mas install 1320666476 - -# ๐Ÿฅณ Social - -# ๐Ÿงฎ Utilities -printf "๐Ÿงฎ Install Alfred.app...\n" -brew cask install --appdir="/Applications" alfred - -printf "๐Ÿงฎ Install Amphetamine.app...\n" -mas install 937984704 - -printf "๐Ÿงฎ Install App Cleaner.app...\n" -brew cask install --appdir="/Applications" appcleaner - -printf "๐Ÿงฎ Install Cheatsheet.app...\n" -brew cask install --appdir="/Applications" cheatsheet - -printf "๐Ÿงฎ Install DaisyDisk.app...\n" -mas install 411643860 - -printf "๐Ÿงฎ Install Google Backup and Sync.app...\n" -brew cask install --appdir="/Applications" google-backup-and-sync - -printf "๐Ÿงฎ Install gSwitch.app...\n" -brew cask install --appdir="/Applications" gswitch - -printf "๐Ÿงฎ Install Magnet.app...\n" -mas install 441258766 - -printf "๐Ÿงฎ Install Popclip.app...\n" -mas install 445189367 - -printf "๐Ÿงฎ Install The Unarchiever.app...\n" -mas install 425424353 - -############################################################################### -# Configure Terminal # -############################################################################### - -# ๐ŸŽ›๏ธ Install Git [1/2] -printf "๐ŸŽ›๏ธ Install Git...\n" -brew install git - -# ๐ŸŽ›๏ธ Update Git settings [2/2] -printf "๐ŸŽ›๏ธ Update Git settings...\n" -sudo rm -rf ~/.gitconfig > /dev/null 2>&1 -sudo rm -rf ~/.gitignore > /dev/null 2>&1 -curl https://raw.githubusercontent.com/MarioCatuogno/Clean-macOS/master/config/.gitignore -o ~/.gitignore -curl https://raw.githubusercontent.com/MarioCatuogno/Clean-macOS/master/config/.gitconfig -o ~/.gitconfig - -# ๐ŸŽ›๏ธ Install Zsh [1/3] -printf "๐ŸŽ›๏ธ Install Zsh...\n" -sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" - -# ๐ŸŽ›๏ธ Download Zsh plugins [2/3] -printf "๐ŸŽ›๏ธ Download Zsh plugins...\n" -git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions -git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting -git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions - -# ๐ŸŽ›๏ธ Update Zsh settings [3/3] -printf "๐ŸŽ›๏ธ Update Zsh settings...\n" -sudo rm -rf ~/.zshrc > /dev/null 2>&1 -curl https://raw.githubusercontent.com/MarioCatuogno/Clean-macOS/master/config/.zshrc -o ~/.zshrc - -############################################################################### -# Install Config files # -############################################################################### - -# ๐ŸŽ›๏ธ Download iTerm2 plugins [1/1] -printf "๐ŸŽ›๏ธ Download iTerm2 plugins...\n" -curl https://raw.githubusercontent.com/MarioCatuogno/Clean-macOS/master/config/ayu-dark.itermcolors -o ~/Downloads/ayu-dark.itermcolors && open ~/Downloads/ayu-dark.itermcolors -curl https://raw.githubusercontent.com/MarioCatuogno/Clean-macOS/master/config/ayu-light.itermcolors -o ~/Downloads/ayu-light.itermcolors && open ~/Downloads/ayu-light.itermcolors -curl https://raw.githubusercontent.com/MarioCatuogno/Clean-macOS/master/config/ayu-mirage.itermcolors -o ~/Downloads/ayu-mirage.itermcolors && open ~/Downloads/ayu-mirage.itermcolors - -# ๐ŸŽ›๏ธ Download Visual Studio Code plugins [1/2] -printf "๐ŸŽ›๏ธ Download Visual Studio Code plugins...\n" -code --install-extension 77qingliu.sas-syntax -code --install-extension DavidAnson.vscode-markdownlint -code --install-extension GrapeCity.gc-excelviewer -code --install-extension HookyQR.beautify -code --install-extension JaimeOlivares.yuml -code --install-extension Tyriar.sort-lines -code --install-extension formulahendry.code-runner -code --install-extension mikestead.dotenv -code --install-extension ms-python.python -code --install-extension pnp.polacode -code --install-extension teabyii.ayu -code --install-extension yzhang.markdown-all-in-one - -# ๐ŸŽ›๏ธ Update Visual Studio Code settings [2/2] -printf "๐ŸŽ›๏ธ Update Visual Studio Code settings...\n" -sudo rm -rf ~/Library/Application\ Support/Code/User/settings.json > /dev/null 2>&1 -curl https://raw.githubusercontent.com/MarioCatuogno/Clean-macOS/master/config/settings.json -o ~/Library/Application\ Support/Code/User/settings.json - -############################################################################### -# Install Python # -############################################################################### - -# โš™๏ธ Install Python [1/2] -printf "โš™๏ธ Install Python3...\n" -brew install python3 - -# โš™๏ธ Download Python packages [2/2] -printf "โš™๏ธ Download Python packages...\n" -pip3 install autopep8 -pip3 install jupyter -pip3 install numpy -pip3 install organize-tool -pip3 install pandas -pip3 install pylint -pip3 install requests -pip3 install speedtest-cli -pip3 install virtualenv - -############################################################################### -# Configure macOS: Dock # -############################################################################### - -printf "Configuring Dock...\n" -printf "Dock: set icon size\n" -defaults write com.apple.dock tilesize -int 40 -printf "Dock: remove animation\n" -defaults write com.apple.dock autohide-time-modifier -float 0 -defaults write com.apple.dock autohide-delay -float 0 - -############################################################################### -# Configure macOS: Finder # -############################################################################### - -printf "Configuring Finder...\n" -printf "Finder: show file extension\n" -defaults write -g AppleShowAllExtensions -bool true -printf "Finder: show hidden files\n" -defaults write com.apple.finder AppleShowAllFiles true -printf "Finder: show Library folder\n" -chflags nohidden ~/Library -printf "Finder: show path bar\n" -defaults write com.apple.finder ShowPathbar -bool true -printf "Finder: set current folder as default search\n" -defaults write com.apple.finder FXDefaultSearchScope -string "SCcf" -printf "Finder: set list view by default\n" -defaults write com.apple.finder FXPreferredViewStyle -string "Nlsv" -printf "Finder: keep folders on top\n" -defaults write com.apple.finder _FXSortFoldersFirst -bool true -printf "Finder: disable creation of metadata files on Network and USB\n" -defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true -defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true -printf "Finder: remove open-with duplicates\n" -/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user -printf "Finder: save screenshots in PNG format\n" -mkdir ${HOME}/Pictures/Screenshots -defaults write com.apple.screencapture location -string "${HOME}/Pictures/Screenshots" -defaults write com.apple.screencapture type -string "png" -printf "Finder: show HD icons on Desktop\n" -defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true -defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true -defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true -printf "Finder: set sidebar icon size to medium\n" -defaults write NSGlobalDomain NSTableViewDefaultSizeMode -int 2 -printf "Finder: show full path\n" -defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES -printf "Finder: turn off window opening animation\n" -defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false -printf "Finder: turn off file info animation\n" -defaults write com.apple.finder DisableAllAnimations -bool true - -############################################################################### -# Configure macOS: Keyboard # -############################################################################### - -printf "Configuring Keyboard...\n" -printf "Keyboard: disable auto-correct\n" -defaults write -g NSAutomaticSpellingCorrectionEnabled -bool false -printf "Keyboard: enable key-repeat\n" -defaults write -g ApplePressAndHoldEnabled -bool false -printf "Keyboard: set repeat rate to 2\n" -defaults write -g KeyRepeat -int 2 -printf "Keyboard: disable automatic capitalization\n" -defaults write -g NSAutomaticCapitalizationEnabled -bool false -printf "Keyboard: disable automatic period substitution\n" -defaults write -g NSAutomaticPeriodSubstitutionEnabled -bool false -printf "Keyboard: disable smart dashes\n" -defaults write -g NSAutomaticDashSubstitutionEnabled -bool false -printf "Keyboard: disable smart quotes\n" -defaults write -g NSAutomaticQuoteSubstitutionEnabled -bool false -printf "Keyboard: disable cotninuous spell checking\n" -defaults write com.apple.messageshelper.MessageController SOInputLineSettings -dict-add "continuousSpellCheckingEnabled" -bool false - -############################################################################### -# Configure macOS: Safari # -############################################################################### - -printf "Configuring Safari.app...\n" -printf "Safari: disable Apple send queries\n" -defaults write com.apple.Safari UniversalSearchEnabled -bool false -defaults write com.apple.Safari SuppressSearchSuggestions -bool true -printf "Safari: disable auto-correct\n" -defaults write com.apple.Safari WebAutomaticSpellingCorrectionEnabled -bool false - -############################################################################### -# Configure macOS: TextEdit # -############################################################################### - -printf "Configuring TextEdit.app...n" -printf "TextEdit: use plain text mode for new documents\n" -defaults write com.apple.TextEdit RichText -int 0 -printf "TextEdit: open and save files as UTF-8 encoding\n" -defaults write com.apple.TextEdit PlainTextEncoding -int 4 -defaults write com.apple.TextEdit PlainTextEncodingForWrite -int 4 - -############################################################################### -# Configure macOS: Trackpad # -############################################################################### - -printf "Configuring Trackpad...\n" -printf "Trackpad: enable tap to click\n" -defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true -defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 -defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 -printf "Trackpad: disable Natural scrolling\n" -defaults write NSGlobalDomain com.apple.swipescrolldirection -bool false - -############################################################################### -# Configure macOS: Various # -############################################################################### - -printf "Configuring various stuff...\n" -printf "AppStore: check for software updates daily\n" -defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1 -printf "Game Center: disable Game Center\n" -defaults write com.apple.gamed Disabled -bool true -printf "Monitor: fix blurry fonts on lower resolution monitor\n" -defaults -currentHost write -globalDomain AppleFontSmoothing -int 2 -printf "SSD: Disable hibernation\n" -sudo pmset -a hibernatemode 0 -printf "Security: Enable firewall\n" -sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on -printf "TimeMachine: prevent from prompting to use new hard drives as backup volume\n" -defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true - -############################################################################### -# Final touches # -############################################################################### - -# Cleanup -printf "Cleanup and final touches...\n" -brew update && brew upgrade && brew cleanup && brew doctor && mas upgrade - -#Exit script -printf "Done. Some of these changes require a restart to take effect\n" -sudo shutdown -r +1 - -#Exit script -exit diff --git a/bin/developer.sh b/bin/developer.sh deleted file mode 100644 index df2cb61..0000000 --- a/bin/developer.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/bin/bash - -# DATE: 2019-10-31 -# VERSION: 1.8.0 - -############################################################################### -# Install Applications # -############################################################################### - -# ๐Ÿ› ๏ธ Developer Tools -printf "๐Ÿ› ๏ธ Install DBeaver.app...\n" -brew cask install --appdir="/Applications" dbeaver-community - -printf "๐Ÿ› ๏ธ Install Docker.app...\n" -brew cask install --appdir="/Applications" docker - -# ๐Ÿฟ Entertainment -printf "๐Ÿฟ Install Handbrake.app...\n" -brew cask install --appdir="/Applications" handbrake - -# ๐ŸŽฒ Games - -# ๐Ÿž๏ธ Graphics & Design -printf "๐Ÿž๏ธ Install Imageoptim.app...\n" -brew cask install --appdir="/Applications" imageoptim - -# ๐Ÿงญ Navigation -printf "๐Ÿงญ Install Firefox.app...\n" -brew cask install --appdir="/Applications" firefox - -# ๐Ÿ“ Productivity -printf "๐Ÿ“ Install Spark.app...\n" -mas install 1176895641 - -# ๐Ÿ”‘ Security - -# ๐Ÿฅณ Social -printf "๐Ÿฅณ Install Franz.app...\n" -brew cask install --appdir="/Applications" franz - -# ๐Ÿงฎ Utilities -printf "๐Ÿงฎ Install Popclip.app...\n" -mas install 445189367 - -############################################################################### -# Install Python # -############################################################################### - -# โš™๏ธ Install Python [1/2] -printf "โš™๏ธ Install Python3...\n" -brew install python3 - -# โš™๏ธ Download Python packages [2/2] -printf "โš™๏ธ Download Python packages...\n" -pip3 install autopep8 -pip3 install jupyter -pip3 install numpy -pip3 install organize-tool -pip3 install pandas -pip3 install pylint -pip3 install requests -pip3 install speedtest-cli -pip3 install virtualenv diff --git a/bin/install.sh b/bin/install.sh new file mode 100644 index 0000000..75affb0 --- /dev/null +++ b/bin/install.sh @@ -0,0 +1,53 @@ +#!/bin/bash + +# DATE: 2019-12-31 +# VERSION: 1.9.0 + +############################################################################### +# Set variables # +############################################################################### + +BIN=~/cleanMacOS/bin # shell scripts +CONFIG=~/cleanMacOS/config # configuration files directory +SETUP=~/cleanMacOS # root folder of cleanMacOS + +############################################################################### +# Launch script # +############################################################################### + +# Entering as Root +printf "Enter root password...\n" +sudo -v + +# Keep alive Root +while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & + +############################################################################### +# Install apps # +############################################################################### + +# Install Homebrew apps +printf "๐Ÿ“ฆ Installing apps...\n" +BUNDLE=brew bundle check +if [ $BUNDLE -eq 0 ]; then + printf "๐Ÿ“ฆ Installing Apps...\n" + brew bundle --file=$SETUP/Brewfile +else + printf "๐Ÿ“ฆ No Brewfile...\n" + exit +fi + +############################################################################### +# Final touches # +############################################################################### + +# Cleanup +printf "๐Ÿ“ฆ Cleanup and final touches...\n" +brew doctor && brew update && brew cleanup && brew upgrade && brew cask upgrade && mas upgrade + +#Exit script +printf "Done. Some of these changes require a restart to take effect\n" +sudo shutdown -r +1 + +#Exit script +exit diff --git a/bin/personal.sh b/bin/personal.sh deleted file mode 100644 index 117a0f0..0000000 --- a/bin/personal.sh +++ /dev/null @@ -1,86 +0,0 @@ -#!/bin/bash - -# DATE: 2019-10-31 -# VERSION: 1.8.0 - -############################################################################### -# Install Applications # -############################################################################### - -# ๐Ÿ› ๏ธ Developer Tools -printf "๐Ÿ› ๏ธ Install Docker.app...\n" -brew cask install --appdir="/Applications" docker - -# ๐Ÿฟ Entertainment -printf "๐Ÿฟ Install Handbrake.app...\n" -brew cask install --appdir="/Applications" handbrake - -printf "๐Ÿฟ Install Helium.app...\n" -mas install 1054607607 - -printf "๐Ÿฟ Install Iina.app...\n" -brew cask install --appdir="/Applications" iina - -# ๐ŸŽฒ Games -printf "๐ŸŽฒ Install Battle Net.app...\n" -brew cask install --appdir="/Applications" battle-net - -printf "๐ŸŽฒ Install Steam.app...\n" -brew cask install --appdir="/Applications" steam - -printf "๐ŸŽฒ Install Steermouse.app...\n" -brew cask install --appdir="/Applications" steermouse - -# ๐Ÿž๏ธ Graphics & Design -printf "๐Ÿž๏ธ Install Imageoptim.app...\n" -brew cask install --appdir="/Applications" imageoptim - -printf "๐Ÿž๏ธ Install Pixelmator.app...\n" -mas install 407963104 - -# ๐Ÿงญ Navigation - -# ๐Ÿ“ Productivity -printf "๐Ÿ“ Install Spark.app...\n" -mas install 1176895641 - -# ๐Ÿ”‘ Security -printf "๐Ÿ”‘ Install ExpressVpn.app...\n" -brew cask install --appdir="/Applications" expressvpn - -printf "๐Ÿ”‘ Install Wipr.app...\n" -mas install 1320666476 - -# ๐Ÿฅณ Social -printf "๐Ÿฅณ Install Franz.app...\n" -brew cask install --appdir="/Applications" franz - -# ๐Ÿงฎ Utilities -printf "๐Ÿงฎ Install DaisyDisk.app...\n" -mas install 411643860 - -printf "๐Ÿงฎ Install Magnet.app...\n" -mas install 441258766 - -printf "๐Ÿงฎ Install Popclip.app...\n" -mas install 445189367 - -############################################################################### -# Install Python # -############################################################################### - -# โš™๏ธ Install Python [1/2] -printf "โš™๏ธ Install Python3...\n" -brew install python3 - -# โš™๏ธ Download Python packages [2/2] -printf "โš™๏ธ Download Python packages...\n" -pip3 install autopep8 -pip3 install jupyter -pip3 install numpy -pip3 install organize-tool -pip3 install pandas -pip3 install pylint -pip3 install requests -pip3 install speedtest-cli -pip3 install virtualenv diff --git a/bin/setup.sh b/bin/setup.sh index 123f15c..8f24595 100644 --- a/bin/setup.sh +++ b/bin/setup.sh @@ -1,165 +1,62 @@ +#!/bin/bash +# DATE: 2019-12-31 +# VERSION: 1.9.0 ############################################################################### -# Configure macOS: Dock # +# Set variables # ############################################################################### -printf "Configuring Dock...\n" -printf "Dock: set icon size\n" -defaults write com.apple.dock tilesize -int 40 -printf "Dock: disable dashboard\n" -defaults write com.apple.dashboard mcx-disabled -bool true -defaults write com.apple.dock dashboard-in-overlay -bool true -printf "Dock: automatically hide\n" -defaults write com.apple.dock autohide -bool true -printf "Dock: remove animation\n" -defaults write com.apple.dock autohide-time-modifier -float 0 -defaults write com.apple.dock autohide-delay -float 0 -printf "Dock: show only active apps\n" -defaults write com.apple.dock static-only -bool true +BIN=~/cleanMacOS/bin # shell scripts +CONFIG=~/cleanMacOS/config # configuration files directory +SETUP=~/cleanMacOS # root folder of cleanMacOS ############################################################################### -# Configure macOS: Finder # +# Launch script # ############################################################################### -printf "Configuring Finder...\n" -printf "Finder: show file extension\n" -defaults write -g AppleShowAllExtensions -bool true -printf "Finder: show hidden files\n" -defaults write com.apple.finder AppleShowAllFiles true -printf "Finder: show Library folder\n" -chflags nohidden ~/Library -printf "Finder: show path bar\n" -defaults write com.apple.finder ShowPathbar -bool true -printf "Finder: set current folder as default search\n" -defaults write com.apple.finder FXDefaultSearchScope -string "SCcf" -printf "Finder: set list view by default\n" -defaults write com.apple.finder FXPreferredViewStyle -string "Nlsv" -printf "Finder: keep folders on top\n" -defaults write com.apple.finder _FXSortFoldersFirst -bool true -printf "Finder: disable creation of metadata files on Network and USB\n" -defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true -defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true -printf "Finder: remove open-with duplicates\n" -/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user -printf "Finder: save screenshots in PNG format\n" -mkdir ${HOME}/Pictures/Screenshots -defaults write com.apple.screencapture location -string "${HOME}/Pictures/Screenshots" -defaults write com.apple.screencapture type -string "png" -printf "Finder: show HD icons on Desktop\n" -defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true -defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true -defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true -printf "Finder: set sidebar icon size to medium\n" -defaults write NSGlobalDomain NSTableViewDefaultSizeMode -int 2 -printf "Finder: show full path\n" -defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES -printf "Finder: turn off window opening animation\n" -defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false -printf "Finder: turn off file info animation\n" -defaults write com.apple.finder DisableAllAnimations -bool true +# Entering as Root +printf "Enter root password...\n" +sudo -v -############################################################################### -# Configure macOS: Keyboard # -############################################################################### - -printf "Configuring Keyboard...\n" -printf "Keyboard: disable auto-correct\n" -defaults write -g NSAutomaticSpellingCorrectionEnabled -bool false -printf "Keyboard: enable key-repeat\n" -defaults write -g ApplePressAndHoldEnabled -bool false -printf "Keyboard: set repeat rate to 2\n" -defaults write -g KeyRepeat -int 2 -printf "Keyboard: disable automatic capitalization\n" -defaults write -g NSAutomaticCapitalizationEnabled -bool false -printf "Keyboard: disable automatic period substitution\n" -defaults write -g NSAutomaticPeriodSubstitutionEnabled -bool false -printf "Keyboard: disable smart dashes\n" -defaults write -g NSAutomaticDashSubstitutionEnabled -bool false -printf "Keyboard: disable smart quotes\n" -defaults write -g NSAutomaticQuoteSubstitutionEnabled -bool false -printf "Keyboard: disable cotninuous spell checking\n" -defaults write com.apple.messageshelper.MessageController SOInputLineSettings -dict-add "continuousSpellCheckingEnabled" -bool false - -############################################################################### -# Configure macOS: Mail # -############################################################################### - -printf "Configuring Mail.app...\n" -printf "Mail: show attachments as icons\n" -defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes -printf "Mail: disable autocorrect\n" -defaults write com.apple.mail SpellCheckingBehavior -string "NoSpellCheckingEnabled" - -############################################################################### -# Configure macOS: Safari # -############################################################################### - -printf "Configuring Safari.app...\n" -printf "Safari: disable Apple send queries\n" -defaults write com.apple.Safari UniversalSearchEnabled -bool false -defaults write com.apple.Safari SuppressSearchSuggestions -bool true -printf "Safari: don't open safe files\n" -defaults write com.apple.Safari AutoOpenSafeDownloads -bool false -printf "Safari: show favorites bar\n" -defaults write com.apple.Safari ShowFavoritesBar -bool true -printf "Safari: enable develop menu\n" -defaults write com.apple.Safari IncludeDevelopMenu -bool true -printf "Safari: disable auto-correct\n" -defaults write com.apple.Safari WebAutomaticSpellingCorrectionEnabled -bool false +# Keep alive Root +while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & ############################################################################### -# Configure macOS: TextEdit # +# Install dependencies # ############################################################################### -printf "Configuring TextEdit.app...n" -printf "TextEdit: use plain text mode for new documents\n" -defaults write com.apple.TextEdit RichText -int 0 -printf "TextEdit: open and save files as UTF-8 encoding\n" -defaults write com.apple.TextEdit PlainTextEncoding -int 4 -defaults write com.apple.TextEdit PlainTextEncodingForWrite -int 4 - -############################################################################### -# Configure macOS: Trackpad # -############################################################################### +# Install XCode Command Line Tools +printf "๐Ÿ“ฆ Installing XCode CL tools...\n" +xcode-select --install -printf "Configuring Trackpad...\n" -printf "Trackpad: enable tap to click\n" -defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true -defaults -currentHost write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 -defaults write NSGlobalDomain com.apple.mouse.tapBehavior -int 1 -printf "Trackpad: disable Natural scrolling\n" -defaults write NSGlobalDomain com.apple.swipescrolldirection -bool false +# Install Brew +printf "๐Ÿ“ฆ Check Brew...\n" +if test ! $(which brew); then + printf "๐Ÿ“ฆ Installing Homebrew...\n" + ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" +else + printf "๐Ÿ“ฆ Homebrew is already installed...\n" + exit +fi +# Change permissions +brew -v +sudo chown -R $USER /usr/local/Cellar -############################################################################### -# Configure macOS: Various # -############################################################################### +# Check Brews +brew doctor && brew update && brew upgrade -printf "Configuring various stuff...\n" -printf "AppStore: check for software updates daily\n" -defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1 -printf "Game Center: disable Game Center\n" -defaults write com.apple.gamed Disabled -bool true -printf "Monitor: fix blurry fonts on lower resolution monitor\n" -defaults -currentHost write -globalDomain AppleFontSmoothing -int 2 -printf "SSD: Disable hibernation\n" -sudo pmset -a hibernatemode 0 -printf "Security: Enable firewall\n" -sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on -printf "TimeMachine: prevent from prompting to use new hard drives as backup volume\n" -defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool true -printf "Notifications: set banner time to 3 seconds\n" -defaults write com.apple.notificationcenterui bannerTime 3 -printf "FileVault: Enable encryption\n" -sudo fdesetup enable +# Install MAS +printf "๐Ÿ“ฆ Installing Brew Cask and MAS...\n" +brew install mas ############################################################################### # Final touches # ############################################################################### # Cleanup -printf "Cleanup and final touches...\n" -brew update && brew upgrade && brew cleanup && brew doctor && mas upgrade +printf "๐Ÿ“ฆ Cleanup and final touches...\n" +brew doctor && brew update && brew cleanup && brew upgrade && brew cask upgrade && mas upgrade #Exit script printf "Done. Some of these changes require a restart to take effect\n" diff --git a/bin/template.sh b/bin/template.sh deleted file mode 100644 index baf1da6..0000000 --- a/bin/template.sh +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/bash - -# SCRIPT: XXX -# DATE: AAAA-MM-DD -# VERSION: X.X.X - -############################################################################### -# Install HomeBrew # -############################################################################### - -# Check Brews -brew doctor && brew update && brew upgrade - -# Tap Repositories -printf "๐Ÿ—๏ธ Install Brew Cask and MAS..." - -############################################################################### -# Install Binaries # -############################################################################### - -# ๏ธโš™๏ธ Binary -printf "โš™๏ธ Install Binaries...\n" - -############################################################################### -# Install Brews # -############################################################################### - -# ๐Ÿ› ๏ธ Developer Tools -printf "๐Ÿ› ๏ธ Install XXX.app...\n" - -# ๐Ÿฟ Entertainment -printf "๐Ÿฟ Install XXX.app...\n" - -# ๐Ÿ’ฌ Fonts -printf "๐Ÿ’ฌ Install XXX.app...\n" - -# ๐ŸŽฒ Games -printf "๐ŸŽฒ Install XXX.app...\n" - -# ๐Ÿž๏ธ Graphics & Design -printf "๐Ÿž๏ธ Install XXX.app...\n" - -# ๐Ÿงญ Navigation -printf "๐Ÿงญ Install XXX.app...\n" - -# ๐Ÿ“ Productivity -printf "๐Ÿ“ Install XXX.app...\n" - -# ๐Ÿ”‘ Security -printf "๐Ÿ”‘ Install XXX.app...\n" - -# ๐Ÿฅณ Social -printf "๐Ÿฅณ Install XXX.app...\n" - -# ๐Ÿงฎ Utilities -printf "๐Ÿงฎ Install XXX.app...\n" - -############################################################################### -# Install Dotfiles # -############################################################################### - -# ๐ŸŽ›๏ธ Install XXX [1/3] - -# ๐ŸŽ›๏ธ Download XXX plugins [2/3] - -# ๐ŸŽ›๏ธ Update XXX settings [3/3] diff --git a/bin/update.sh b/bin/update.sh new file mode 100644 index 0000000..26ad29e --- /dev/null +++ b/bin/update.sh @@ -0,0 +1,46 @@ +#!/bin/bash + +# DATE: 2019-12-31 +# VERSION: 1.9.0 + +############################################################################### +# Set variables # +############################################################################### + +BIN=~/cleanMacOS/bin # shell scripts +CONFIG=~/cleanMacOS/config # configuration files directory +SETUP=~/cleanMacOS # root folder of cleanMacOS + +############################################################################### +# Launch script # +############################################################################### + +# Entering as Root +printf "Enter root password...\n" +sudo -v + +# Keep alive Root +while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & + +############################################################################### +# Update config files # +############################################################################### + +printf "โš™๏ธ Update Zsh settings...\n" +sudo rm -rf ~/.zshrc > /dev/null 2>&1 +curl https://raw.githubusercontent.com/MarioCatuogno/Clean-macOS/master/config/.zshrc -o ~/.zshrc + +printf "โš™๏ธ Update Visual Studio Code settings...\n" +sudo rm -rf ~/Library/Application\ Support/Code/User/settings.json > /dev/null 2>&1 +curl https://raw.githubusercontent.com/MarioCatuogno/Clean-macOS/master/config/settings.json -o ~/Library/Application\ Support/Code/User/settings.json + +printf "โš™๏ธ Update Git settings...\n" +sudo rm -rf ~/.gitignore > /dev/null 2>&1 +curl https://raw.githubusercontent.com/MarioCatuogno/Clean-macOS/master/config/.gitignore -o ~/.gitignore + +############################################################################### +# Update apps # +############################################################################### + +printf "๐Ÿ“ฆ Update macOS...\n" +brew doctor && brew update && brew cleanup && brew upgrade && brew cask upgrade && mas upgrade diff --git a/cleanMacOS.sh b/cleanMacOS.sh new file mode 100755 index 0000000..0811856 --- /dev/null +++ b/cleanMacOS.sh @@ -0,0 +1,47 @@ +#!/bin/bash + +# DATE: 2019-12-31 +# VERSION: 1.9.0 + +############################################################################### +# Set variables # +############################################################################### + +BIN=~/cleanMacOS/bin # shell scripts +CONFIG=~/cleanMacOS/config # configuration files directory +SETUP=~/cleanMacOS # root folder of cleanMacOS + +############################################################################### +# Menu # +############################################################################### + +while : +do + clear + cat< | [Docker](https://www.docker.com) | A container software ideal for developer looking to get started and experimenting with container-based application. | -| | [iTerm2](https://www.iterm2.com) | A macOS terminal replacement. | -| | [Oh My Zsh](http://ohmyz.sh) | Oh-My-Zsh is an open source, community-driven framework for managing the ZSH configuration of Terminal app. | -| | [VirtualBox](https://www.virtualbox.org) | A powerful virtualization tool, freely available and developed by Oracle. With this software I can install different OS to experiment and run programs that otherwise would not run on my macOS. | +| Icon | Title | Description | Brew | +| --- | --- | --- | --- | +| | [Audio Hijack](https://rogueamoeba.com/audiohijack) | Record any application's audio, including VoIP calls from Skype, web streams from Safari, and much more. Save audio from hardware devices like microphones and mixers as well. | cask "audio-hijack" | -## Editor +## Developers -| Icon | Title | Description | -| --- | --- | --- | -| | [Visual Studio Code](https://code.visualstudio.com) | A hackable free and open source code editor. | +| Icon | Title | Description | Brew | +| --- | --- | --- | --- | +| | [Docker](https://www.docker.com) | A container software ideal for developer looking to get started and experimenting with container-based application. | cask "docker" | +| | [Github Desktop](https://desktop.github.com) | Manage the entire Github workflow with a GUI, without the need to use the git commands in shell. | | +| | [iTerm2](https://www.iterm2.com) | A macOS terminal replacement. | cask "iterm2" | +| | [Kitematic](https://kitematic.com) | Run containers through a simple and powerful graphical interface. | | +| | [Lepton](https://github.com/hackjutsu/Lepton) | Code snippet manager based on GitHub Gist. | | +| | [Tableplus](https://tableplus.io) | Modern and friendly GUI for relational databases such as MySQL, PostgreSQL and more. | | +| | [VirtualBox](https://www.virtualbox.org) | A powerful virtualization tool, freely available and developed by Oracle. With this software you can install different OS to experiment and run programs that otherwise would not run on my macOS. | | + +## Editors + +| Icon | Title | Description | Brew | +| --- | --- | --- | --- | +| | [Sublime Text](https://www.sublimetext.com) | A sophisticated and lightweight text editor for code, markup and prose. | | +| | [Typora](https://typora.io) | A minimal markdown editor. | | +| | [Visual Studio Code](https://code.visualstudio.com) | A hackable free and open source code editor. | cask "visual-studio-code" | ## Games -| Icon | Title | Description | -| --- | --- | --- | -| | [Battle.net](http://eu.battle.net/en/) | Battle.net launcher for Blizzard games, such as Heartstone, World of Warcraft and Starcraft2. | -| | [Steam](https://store.steampowered.com) | Steam is a digital distribution platform developed by Valve Corporation for purchasing and playing video games. | -| | [Steermouse](http://plentycom.jp/en/steermouse/) | A utility that lets you freely customize buttons, wheels and cursor speed of both USB and Bluetooth mice. | +| Icon | Title | Description | Brew | +| --- | --- | --- | --- | +| | [Battle.net](http://eu.battle.net/en/) | Battle.net launcher for Blizzard games, such as Heartstone, World of Warcraft and Starcraft2. | | +| | [Steam](https://store.steampowered.com) | Steam is a digital distribution platform developed by Valve Corporation for purchasing and playing video games. | cask "steam" | +| | [Steermouse](http://plentycom.jp/en/steermouse/) | A utility that lets you freely customize buttons, wheels and cursor speed of both USB and Bluetooth mice. | cask "steermouse" | -## Multimedia and Graphics +## Graphics -| Icon | Title | Description | -| --- | --- | --- | -| | [Easyres](http://easyresapp.com) | A tool for fast switch the screen resolution on your Mac. | -| | [Handbrake](https://handbrake.fr) | A tool for converting video from nearly any format to a selection of modern, widely supported codecs. | -| | [Iina](https://lhc70000.github.io/iina/) | A modern video player for macOS. | -| | [ImageOptim](https://imageoptim.com/mac) | An open-source software to reduce image size removing bloated metadata. | -| | [Pixelmator](http://www.pixelmator.com/mac/) | A powerful, fast, and easy-to-use image editor. I use this as a cheaper alternative to Photoshop, it covers more than enough my usual tasks. | -| | [Sip](https://sipapp.io) | A modern color picker built for designers and developers, that allows you to collect, organize and edit colors. | +| Icon | Title | Description | Brew | +| --- | --- | --- | --- | +| | [ImageOptim](https://imageoptim.com/mac) | An open-source software to reduce image size removing bloated metadata. | cask "imageoptim" | +| | [Nucleo](https://nucleoapp.com/application) | An icon manager which support SVG files. | | +| | [Pixelmator](http://www.pixelmator.com/mac/) | A powerful, fast, and easy-to-use image editor. I use this as a cheaper alternative to Photoshop, it covers more than enough my usual tasks. | mas "Pixelmator", id: 407963104 | +| | [Sip](https://sipapp.io) | A modern color picker built for designers and developers, that allows you to collect, organize and edit colors. | | ## Internet and Networking -| Icon | Title | Description | -| --- | --- | --- | -| | [Google Chrome](https://www.google.com/chrome/) | Browser developed by Google. | -| | [Transmission](https://www.transmissionbt.com) | An open source torrent client. | -| | [WebTorrent](https://webtorrent.io) | App for streaming torrent. | -| | [Wipr](https://itunes.apple.com/it/app/wipr/id1320666476) | A lightweight blocker extension for Safari. | +| Icon | Title | Description | Brew | +| --- | --- | --- | --- | +| | [Better Blocker](https://better.fyi) | Better is a privacy tool for Safari on iPhone, iPad, and Mac that protect you from behavioural ads and companies that track and profile you on the web. | mas "Better Blocker", id: 1121192229 | +| | [Dropbox](https://www.dropbox.com) | A file-hosting service that offers cloud storage, synchronization and client software. The free version offers 2GB space. | cask "dropbox" | +| | [Firefox](https://www.mozilla.org/en/firefox/) | A free open-source web browser developed by the Mozilla Foundation. | cask "firefox" | +| | [Google Chrome](https://www.google.com/chrome/) | Browser developed by Google. | cask "google-chrome" | +| | [Google Drive](https://drive.google.com/) | A file-hosting service that offers cloud storage, synchronization and client software. | | +| | [Transmission](https://www.transmissionbt.com) | An open source torrent client. | cask "transmission" | +| | [WebTorrent](https://webtorrent.io) | App for streaming torrent. | cask "webtorrent" | +| | [Wipr](https://itunes.apple.com/it/app/wipr/id1320666476) | A lightweight blocker extension for Safari. | mas "Wipr", id: 1320666476 | + +## News + +| Icon | Title | Description | Brew | +| --- | --- | --- | --- | +| | [NetNewsWire](https://ranchero.com/netnewswire/) | It is a free and open source RSS reader for Mac, shows you articles from your favorite blogs and news sites, and it keeps track of what youโ€™ve read. | cask "netnewswire" | ## Productivity -| Icon | Title | Description | -| --- | --- | --- | -| | [Magnet](http://magnet.crowdcafe.com) | A windows manager for macOS to keep workspace organized. | -| | [Popclip](https://pilotmoon.com/popclip/) | A tool which appears when you select text with your mouse on your Mac. | -| | [Spark](https://sparkmailapp.com/it) | A modern mail app for macOS and iOS. | +| Icon | Title | Description | Brew | +| --- | --- | --- | --- | +| | [Magnet](http://magnet.crowdcafe.com) | A windows manager for macOS to keep workspace organized. | mas "Magnet", id: 441258766 | +| | [Popclip](https://pilotmoon.com/popclip/) | A tool which appears when you select text with your mouse on your Mac. | mas "PopClip", id: 445189367 | +| | [Spark](https://sparkmailapp.com/it) | A modern mail app for macOS and iOS. | mas "Spark", id: 1176895641 | ## Security -| Icon | Title | Description | -| --- | --- | --- | -| | [ExpressVPN](https://www.expressvpn.com) | High speed VPN service available on both macOS and iOS. | +| Icon | Title | Description | Brew | +| --- | --- | --- | --- | +| | [1Password](https://1password.com) | A cross-platform password manager. | cask "1password" | +| | [ExpressVPN](https://www.expressvpn.com) | High speed VPN service available on both macOS and iOS. | cask "expressvpn" | +| | [SonicWall NetExtender](https://www.sonicwall.com) | NetExtender is an SSL VPN client that is downloaded transparently and that allows you to run any application securely on the companyโ€™s network. | | +| | [TunnelBear](https://www.tunnelbear.com) | TunnelBear VPN provides you with a secure and private connection to a less restricted Internet. | cask "tunnelbear" | ## Social -| Icon | Title | Description | -| --- | --- | --- | -| | [Franz](http://meetfranz.com) | Is a free messaging app which combines various chat and messaging services into one interface. | +| Icon | Title | Description | Brew | +| --- | --- | --- | --- | +| | [Franz](http://meetfranz.com) | Is a free messaging app which combines various chat and messaging services into one interface. | | +| | [Skype](https://skype.com) | The most famous VoIP application which provides video chat and voice call services. | cask "skype" | ## Utilities -| Icon | Title | Description | -| --- | --- | --- | -| | [Alfred](https://www.alfredapp.com) | An application launcher which boosts productivity. | -| | [Amphetamine](https://itunes.apple.com/it/app/amphetamine/id937984704?mt=12) | This app can effortlessly override your energy saver settings and keep your Mac awake. | -| | [AppCleaner](https://freemacsoft.net/appcleaner/) | A simple tool to safely delete App on MacOS. | -| | [CheatSheet](https://www.mediaatelier.com/CheatSheet/) | This free utility quickly summons a list of all keyboard shortcuts for the app you're using. | -| | [DaisyDisk](https://daisydiskapp.com) | It scans the disk and shows all the files and folders as a visual interactive map. It is possible to see unusual large file, preview it and then delete it directly from the app. | -| | [Google Drive](https://drive.google.com/) | A file-hosting service that offers cloud storage, synchronization and client software. | -| | [TheUnarchiver](http://unarchiver.c3.cx/unarchiver) | The best replacement for the default archive utility app of MacOS, it is designed to handle tons of different files. | - -## Other useful apps - -| Icon | Title | Description | -| --- | --- | --- | -| | [1Password](https://1password.com) | A cross-platform password manager. | -| | [Cakebrew](https://www.cakebrew.com) | Cakebrew is a free Homebrew GUI that makes overseeing your setup just a bit easier. | -| | [Dropbox](https://www.dropbox.com) | A file-hosting service that offers cloud storage, synchronization and client software. The free version offers 2GB space. | -| | [Github Desktop](https://desktop.github.com) | Manage the entire Github workflow with a GUI, without the need to use the git commands in shell. | -| | [Kitematic](https://kitematic.com) | Run containers through a simple and powerful graphical interface. | -| | [Lepton](https://github.com/hackjutsu/Lepton) | Code snippet manager based on GitHub Gist. | -| | [Microsoft Remote Desktop](https://itunes.apple.com/it/app/microsoft-remote-desktop-10/id1295203466?mt=12) | Use the new Microsoft Remote Desktop app to connect to a remote PC or virtual apps and desktops made available by your administrator. | -| | [My Touchbar. My Rules](https://mtmr.app) | A touch bar customization tool. | -| | [Nucleo](https://nucleoapp.com/application) | An icon manager which support SVG files. | -| | [Tableplus](https://tableplus.io) | Modern and friendly GUI for relational databases such as MySQL, PostgreSQL and more. | -| | [Skype](https://skype.com) | The most famous VoIP application which provides video chat and voice call services. | -| | [SonicWall NetExtender](https://www.sonicwall.com) | NetExtender is an SSL VPN client that is downloaded transparently and that allows you to run any application securely on the companyโ€™s network. | -| | [Sublime Text](https://www.sublimetext.com) | A sophisticated and lightweight text editor for code, markup and prose. | -| | [Typora](https://typora.io) | A minimal markdown editor. | -| | [TunnelBear](https://www.tunnelbear.com) | TunnelBear VPN provides you with a secure and private connection to a less restricted Internet. | +| Icon | Title | Description | Brew | +| --- | --- | --- | --- | +| | [Alfred](https://www.alfredapp.com) | An application launcher which boosts productivity, can replace macOS Spotlight. | cask "alfred" | +| | [Amphetamine](https://itunes.apple.com/it/app/amphetamine/id937984704?mt=12) | This app can effortlessly override your energy saver settings and keep your Mac awake. | mas "Amphetamine", id: 937984704 | +| | [AppCleaner](https://freemacsoft.net/appcleaner/) | A simple tool to safely delete App on MacOS. | cask "appcleaner" | +| | [My Touchbar. My Rules](https://mtmr.app) | A touch bar customization tool. | | +| | [TheUnarchiver](http://unarchiver.c3.cx/unarchiver) | The best replacement for the default archive utility app of MacOS, it is designed to handle tons of different files. | mas "The Unarchiever", id: 425424353 | + +## Video + +| Icon | Title | Description | Brew | +| --- | --- | --- | --- | +| | [Easyres](http://easyresapp.com) | A tool for fast switch the screen resolution on your Mac. | mas "EasyRes", id: 688211836 | +| | [Handbrake](https://handbrake.fr) | A tool for converting video from nearly any format to a selection of modern, widely supported codecs. | cask "handbrake" | +| | [Iina](https://lhc70000.github.io/iina/) | A modern video player for macOS. | cask "iina" | + +## Others + +| Icon | Title | Description | Brew | +| --- | --- | --- | --- | +| | [Cakebrew](https://www.cakebrew.com) | Cakebrew is a free Homebrew GUI that makes overseeing your setup just a bit easier. | | +| | [CheatSheet](https://www.mediaatelier.com/CheatSheet/) | This free utility quickly summons a list of all keyboard shortcuts for the app you're using. | cask "cheatsheet" | +| | [DaisyDisk](https://daisydiskapp.com) | It scans the disk and shows all the files and folders as a visual interactive map. It is possible to see unusual large file, preview it and then delete it directly from the app. | mas "Daisydisk", id: 411643860 | +| | [Microsoft Remote Desktop](https://itunes.apple.com/it/app/microsoft-remote-desktop-10/id1295203466?mt=12) | Use the new Microsoft Remote Desktop app to connect to a remote PC or virtual apps and desktops made available by your administrator. | | diff --git a/img/icon_audiohijack.png b/img/icon_audiohijack.png new file mode 100644 index 0000000..a75b720 Binary files /dev/null and b/img/icon_audiohijack.png differ diff --git a/img/icon_betterblocker.png b/img/icon_betterblocker.png new file mode 100644 index 0000000..dc6c6bf Binary files /dev/null and b/img/icon_betterblocker.png differ diff --git a/img/icon_firefox.png b/img/icon_firefox.png new file mode 100644 index 0000000..f30599a Binary files /dev/null and b/img/icon_firefox.png differ diff --git a/img/icon_netnewswire.png b/img/icon_netnewswire.png new file mode 100644 index 0000000..2cf61e2 Binary files /dev/null and b/img/icon_netnewswire.png differ diff --git a/img/scrn_cleanmacos_terminal.png b/img/scrn_cleanmacos_terminal.png new file mode 100644 index 0000000..e5dd86f Binary files /dev/null and b/img/scrn_cleanmacos_terminal.png differ diff --git "a/profiles/basic\360\237\221\266" "b/profiles/basic\360\237\221\266" new file mode 100644 index 0000000..6133708 --- /dev/null +++ "b/profiles/basic\360\237\221\266" @@ -0,0 +1,33 @@ +tap "homebrew/cask-fonts" +brew "ack" +brew "bash" +brew "coreutils" +brew "dockutil" +brew "git" +brew "gzip" +brew "htop" +brew "imagemagick" +brew "nano" +brew "neofetch" +brew "prettyping" +brew "python3" +brew "tldr" +brew "tree" +brew "wget" +brew "wifi-password" +brew "youtube-dl" +cask "appcleaner" +cask "cheatsheet" +cask "google-chrome" +cask "iterm2" +cask "qlcolorcode" +cask "qlmarkdown" +cask "qlstephen" +cask "qlvideo" +cask "quicklook-csv" +cask "quicklook-json" +cask "transmission" +cask "visual-studio-code" +cask "vlc" +mas "Amphetamine", id: 937984704 +mas "The Unarchiever", id: 425424353 \ No newline at end of file diff --git "a/profiles/developer\360\237\221\250\342\200\215\360\237\222\273" "b/profiles/developer\360\237\221\250\342\200\215\360\237\222\273" new file mode 100644 index 0000000..75d44b8 --- /dev/null +++ "b/profiles/developer\360\237\221\250\342\200\215\360\237\222\273" @@ -0,0 +1,52 @@ +tap "homebrew/cask-fonts" +brew "ack" +brew "bash" +brew "coreutils" +brew "dockutil" +brew "git" +brew "gzip" +brew "htop" +brew "imagemagick" +brew "nano" +brew "neofetch" +brew "prettyping" +brew "python3" +brew "tldr" +brew "tree" +brew "wget" +brew "wifi-password" +brew "youtube-dl" +cask "alfred" +cask "appcleaner" +cask "bitwarden" +cask "cheatsheet" +cask "docker" +cask "expressvpn" +cask "firefox" +cask "font-comic-neue" +cask "font-fantasque-sans-mono" +cask "font-fira-code" +cask "font-hack" +cask "font-heavydata-nerd-font" +cask "font-lato" +cask "font-roboto" +cask "font-ubuntumono-nerd-font" +cask "google-chrome" +cask "gswitch" +cask "handbrake" +cask "iina" +cask "imageoptim" +cask "iterm2" +cask "qlcolorcode" +cask "qlmarkdown" +cask "qlstephen" +cask "qlvideo" +cask "quicklook-csv" +cask "quicklook-json" +cask "steam" +cask "transmission" +cask "visual-studio-code" +mas "Amphetamine", id: 937984704 +mas "Save to Pocket", id: 1477385213 +mas "Spark", id: 1176895641 +mas "The Unarchiever", id: 425424353 \ No newline at end of file diff --git "a/profiles/personal\360\237\247\237" "b/profiles/personal\360\237\247\237" new file mode 100644 index 0000000..fb43909 --- /dev/null +++ "b/profiles/personal\360\237\247\237" @@ -0,0 +1,58 @@ +tap "homebrew/cask-fonts" +brew "ack" +brew "bash" +brew "coreutils" +brew "dockutil" +brew "git" +brew "gzip" +brew "htop" +brew "imagemagick" +brew "nano" +brew "neofetch" +brew "prettyping" +brew "python3" +brew "tldr" +brew "tree" +brew "wget" +brew "wifi-password" +brew "youtube-dl" +cask "alfred" +cask "appcleaner" +cask "bitwarden" +cask "cheatsheet" +cask "docker" +cask "expressvpn" +cask "font-comic-neue" +cask "font-fantasque-sans-mono" +cask "font-fira-code" +cask "font-hack" +cask "font-heavydata-nerd-font" +cask "font-lato" +cask "font-roboto" +cask "font-ubuntumono-nerd-font" +cask "google-chrome" +cask "gswitch" +cask "handbrake" +cask "iina" +cask "imageoptim" +cask "iterm2" +cask "netnewswire" +cask "qlcolorcode" +cask "qlmarkdown" +cask "qlstephen" +cask "qlvideo" +cask "quicklook-csv" +cask "quicklook-json" +cask "steam" +cask "steermouse" +cask "transmission" +cask "visual-studio-code" +mas "Amphetamine", id: 937984704 +mas "Daisydisk", id: 411643860 +mas "Magnet", id: 441258766 +mas "Pixelmator", id: 407963104 +mas "PopClip", id: 445189367 +mas "Save to Pocket", id: 1477385213 +mas "Spark", id: 1176895641 +mas "The Unarchiever", id: 425424353 +mas "Wipr", id: 1320666476 \ No newline at end of file