-
-
Save spuder/e5f55f11cf4cbb4e4d175b34ff94e202 to your computer and use it in GitHub Desktop.
Revisions
-
spuder revised this gist
Sep 18, 2024 . 3 changed files with 2 additions and 66 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -12,22 +12,4 @@ personal: defaults: ./defaults.sh .PHONY: all brew-bundle defaults This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,33 +4,6 @@ Customize macOS defaults and install software automatically. ## Setup Download `Brewfile` then run `brew bundle` :tada: That's it! This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,19 +0,0 @@ -
spuder revised this gist
Sep 18, 2024 . 1 changed file with 21 additions and 21 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -67,46 +67,46 @@ brew "gh" # Homebrew Graphical Applications cask "rocket" cask "grandperspective" #cask "rectangle" #cask "iina" #cask "shottr" #cask "onyx" #cask "appcleaner" # cask "hiddenbar" cask "notion" cask "notion-calendar" cask "obsidian" #cask "spotify" #cask "around" #cask "cloudmounter" cask "raycast" #cask "imageoptim" #cask "tempbox" #cask "warp" #cask "1password" #cask "1password-cli" cask "discord" cask "aldente" cask "utm" cask "nvalt" cask "prusaslicer" cask "transmission" #cask "monitorcontrol" cask "uhk-agent" cask "displaylink" cask "keyboardcleantool" #cask "stats" #cask "betterdisplay" #cask "flux" #cask "espanso" cask "zoom" cask "itsycal" cask "balenaetcher" #cask "upscayl" # cask "MenubarX" cask "bambu-studio" cask "blender" #cask "audio-hijack" cask "coolterm" cask "easyeda" cask "telegram" @@ -117,8 +117,8 @@ cask "raspberry-pi-imager" cask "mu-editor" cask "keybase" cask "gpg-suite" #cask "platypus" #cask "karabiner-elements" cask "iterm2" # QUICKLOOK PLUGINS @@ -135,8 +135,8 @@ cask "google-chrome" # cask "orion" cask "brave-browser" cask "mullvad-browser" #cask "min" #cask "arc" cask "microsoft-edge" # DEV TOOLS -
spuder revised this gist
Apr 9, 2024 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -119,6 +119,7 @@ cask "keybase" cask "gpg-suite" cask "platypus" cask "karabiner-elements" cask "iterm2" # QUICKLOOK PLUGINS # cask 'qlmarkdown' -
spuder revised this gist
Apr 4, 2024 . 5 changed files with 144 additions and 31 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -16,10 +16,13 @@ mas "Microsoft TODO", id: 1274495053 mas "Things 3", id: 904280696 mas "Wireguard", id: 1451685025 mas "Hidden Bar", id: 1452453066 mas "Simplenote - Notes and Memos", id: 692867256 mas "TexSniper", id: 1528890965 mas "HEIC Converter", id: 1294126402 # mas "MyWallpaper", id: 1552826194 # mas "HEIC Converter", id: 1294126402 # HomeBrew CLI Tools brew "coreutils" brew "automake" @@ -31,13 +34,35 @@ brew "colordiff" brew "pwgen" brew "pstree" brew "asciinema" brew "agg" brew "trash" brew "direnv" brew "lolcat" brew "azure-cli" brew "awscli" brew "mtr" brew "pre-commit" brew "mackup" brew "handbrake" brew "fswatch" brew "go" brew "pyenv-virtualenv" brew "unison" brew "autozimu/homebrew-formulas/unison-fsmonitor" brew "pv" brew "figlet" brew "gh" # tap "earthly/earthly" # brew "earthly/earthly/earthly" # tap "hashicorp/tap" # brew "hashicorp/tap/boundary" # brew "packer" # brew "yamllint" # brew "watch" # brew "wget" # brew "trash" # brew "tree" # Homebrew Graphical Applications cask "rocket" @@ -76,33 +101,74 @@ cask "flux" cask "espanso" cask "zoom" cask "itsycal" cask "balenaetcher" #cask "upscayl" # cask "MenubarX" cask "bambu-studio" cask "blender" cask "audio-hijack" cask "coolterm" cask "easyeda" cask "telegram" cask "vlc" cask "whatsapp" cask "resilio-sync" cask "raspberry-pi-imager" cask "mu-editor" cask "keybase" cask "gpg-suite" cask "platypus" cask "karabiner-elements" # QUICKLOOK PLUGINS # cask 'qlmarkdown' # cask 'quicklook-json' # cask 'quicklook-csv' # cask 'qlstephen' # cask 'qlimagesize' # cask 'qlcolorcode' # BROWSERS cask "google-chrome" # cask "firefox" # cask "orion" cask "brave-browser" cask "mullvad-browser" cask "min" cask "arc" cask "microsoft-edge" # DEV TOOLS brew "git" cask "visual-studio-code" brew "jq" brew "yq" cask "arduino-ide" brew "git-lfs" # Containers cask "podman-desktop" brew "podman-compose" cask "orbstack" # VSCode vscode "redhat.ansible" vscode "redhat.vscode-yaml" vscode "tonybaloney.vscode-pets" vscode "hashicorp.hcl" vscode "hashicorp.terraform" vscode "github.vscode-github-actions" vscode "github.vscode-pull-request-github" vscode "gitlab.gitlab-workflow" vscode "github.copilot" vscode "github.copilot-chat" vscode "codeium.codeium" vscode "eamodio.gitlens" vscode "earthly.earthfile-syntax-highlighting" vscode "ms-vscode-remote.remote-containers" vscode "ms-vscode-remote.remote-ssh" vscode "ms-vscode-remote.remote-wsl" vscode "ms-vscode.cmake-tools" vscode "ms-vscode.remote-explorer" vscode "ms-vscode.remote-server" vscode "platformio.platformio-ide" This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,8 +5,29 @@ all: brew-bundle brew-bundle: brew bundle personal: brew bundle --file Brewfile-personal # Target to run ./defaults.sh defaults: ./defaults.sh # Generate mackup config file and backup existing ones mackup: # Check if ~/.mackup.cfg exists and back it up if it does if [ -f ~/.mackup.cfg ]; then \ mv ~/.mackup.cfg ~/.mackup.cfg.backup.$$(date +%Y-%m-%d); \ fi # Ensure the ~/.mackup directory exists mkdir -p ~/.mackup # Copy the main mackup config file cp mackup/.mackup.cfg ~/.mackup.cfg # Loop through all .cfg files in the mackup directory for file in mackup/*.cfg; do \ if [ -f "$$file" ]; then \ filename=$$(basename $$file); \ cp $$file ~/.mackup/; \ fi; \ done .PHONY: all brew-bundle defaults mackup This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,20 @@ Show home folder in side bar of finder Show mac hard drive in side bar of finder Disable automaticlaly reopening all application Disable 3 key press for dictionary definition Change setting for monitor going black Choose between monitorcontrol and betterdisplay Disable copy paste between imacs Disable notes in bottom right corner on Sonoma Default password manager Chome disable Secure DNS # Mackup - muteme - aldente - resillio (exclude) - textsniper - anyconnect (/opt/cisco/anyconnect/profile) - secureID This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -80,11 +80,14 @@ defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false # FINDER ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # Hide all icons and drives on desktop defaults write com.apple.finder CreateDesktop -bool false # Show icons for hard drives, servers, and removable media on the desktop # defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true # defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true # defaults write com.apple.finder ShowMountedServersOnDesktop -bool true # defaults write com.apple.finder ShowRemovableMediaOnDesktop -bool true # Disable window animations defaults write com.apple.finder DisableAllAnimations -bool true @@ -101,6 +104,12 @@ defaults write com.apple.frameworks.diskimages auto-open-ro-root -bool true defaults write com.apple.frameworks.diskimages auto-open-rw-root -bool true defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool true # Disable warning when disk not ejected properly # https://blog.adafruit.com/2021/05/11/how-to-tone-down-macos-big-surs-circuitpy-eject-notifications/ #defaults write com.apple.finder NSDisableEjectNotification -bool true curl https://gist.github.com/PaintYourDragon/a229f7c5f1992943a34ce1a5c7cb527c/raw/c12745c4cde36ac667b8ede16a8a707554f1072c/ejectfix.py >/tmp/ejectfix.py python3 /tmp/ejectfix.py # Set home as default location for new Finder windows defaults write com.apple.finder NewWindowTarget -string "PfHm" @@ -112,17 +121,19 @@ defaults write com.apple.finder ShowPathbar -bool true defaults write com.apple.finder _FXSortFoldersFirst -bool true # Search the current folder by default defaults write com.apple.finder _FXSortFoldersFirst -bool true # Set grid spacing for icons on the desktop and in other icon views # spacing=64 # /usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:gridSpacing $spacing" ~/Library/Preferences/com.apple.finder.plist # /usr/libexec/PlistBuddy -c "Set :FK_StandardViewSettings:IconViewSettings:gridSpacing $spacing" ~/Library/Preferences/com.apple.finder.plist # /usr/libexec/PlistBuddy -c "Set :StandardViewSettings:IconViewSettings:gridSpacing $spacing" ~/Library/Preferences/com.apple.finder.plist # # Set icons size on the desktop and in other icon views # icon_size=48 # /usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:iconSize $icon_size" ~/Library/Preferences/com.apple.finder.plist # /usr/libexec/PlistBuddy -c "Set :FK_StandardViewSettings:IconViewSettings:iconSize $icon_size" ~/Library/Preferences/com.apple.finder.plist # /usr/libexec/PlistBuddy -c "Set :StandardViewSettings:IconViewSettings:iconSize $icon_size" ~/Library/Preferences/com.apple.finder.plist # Use icon view in all Finder windows by default # Four-letter codes for the other view modes: 'Nlsv', 'clmv', 'glyv' @@ -137,7 +148,8 @@ chflags nohidden ~/Library defaults write com.apple.dock tilesize -int 64 # Minimize windows into their application’s icon # defaults write com.apple.dock minimize-to-application -bool true defaults write com.apple.dock minimize-to-application -bool false # Wipe all default app icons from the Dock defaults write com.apple.dock persistent-apps -array @@ -169,4 +181,4 @@ defaults write 'Apple Global Domain' KeyRepeat -int 2 killall Dock killall Finder This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ bash <(curl -s https://gist.github.com/spuder/e5f55f11cf4cbb4e4d175b3 echo 'Install base macOS software' /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" echo 'eval "$(/usr/local/bin/brew shellenv)"' >> ~/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)" brew analytics off -
spuder revised this gist
Mar 26, 2024 . 1 changed file with 9 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,8 @@ tap "homebrew/bundle" brew "mas" # App Store # (If you haven't purchased these apps yet, you might get an error) mas "Slack", id: 803453959 mas "The Unarchiver", id: 425424353 #mas "Spark", id: 1176895641 @@ -16,6 +17,8 @@ mas "Things 3", id: 904280696 mas "Wireguard", id: 1451685025 mas "Hidden Bar", id: 1452453066 mas "Simple Note", id: 692867256 mas "TexSniper", id: 1528890965 mas "HEIC Converter", id: 1294126402 # HomeBrew CLI Tools brew "coreutils" @@ -46,6 +49,7 @@ cask "onyx" cask "appcleaner" # cask "hiddenbar" cask "notion" cask "notion-calendar" cask "obsidian" cask "spotify" #cask "around" @@ -70,6 +74,10 @@ cask "stats" cask "betterdisplay" cask "flux" cask "espanso" cask "zoom" cask "itsycal" cask "slimhud" # QUICKLOOK PLUGINS cask 'qlmarkdown' @@ -98,5 +106,3 @@ brew "git-lfs" cask "podman-desktop" cask "orbstack" -
spuder revised this gist
Mar 25, 2024 . 3 changed files with 24 additions and 28 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,5 @@ tap "homebrew/bundle" brew "mas" # App Store @@ -18,7 +17,28 @@ mas "Wireguard", id: 1451685025 mas "Hidden Bar", id: 1452453066 mas "Simple Note", id: 692867256 # HomeBrew CLI Tools brew "coreutils" brew "automake" brew "watch" brew "dos2unix" brew "rename" brew "s3cmd" brew "colordiff" brew "pwgen" brew "pstree" brew "asciinema" brew "trash" brew "direnv" brew "lolcat" brew "azure-cli" brew "awscli" brew "avrdude" brew "mtr" # Homebrew Graphical Applications cask "rocket" cask "grandperspective" cask "rectangle" cask "iina" cask "shottr" @@ -50,24 +70,6 @@ cask "stats" cask "betterdisplay" cask "flux" cask "espanso" # QUICKLOOK PLUGINS cask 'qlmarkdown' @@ -88,17 +90,10 @@ cask "min" # DEV TOOLS brew "git" cask "visual-studio-code" brew "jq" cask "arduino-ide" brew "git-lfs" # Containers cask "podman-desktop" cask "orbstack" This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,3 +2,5 @@ Show home folder in side bar Show mac hard drive in side bar Disable automaticlaly reopening all application Disable 3 key press for dictionary definition Change setting for monitor going black Choose between monitorcontrol and betterdisplay This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -49,7 +49,6 @@ defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false # Hide language menu in the top right corner of the boot screen #sudo defaults write /Library/Preferences/com.apple.loginwindow showInputMenu -bool false # TRACKPAD ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # Enable tap to click for this user and for the login screen -
spuder revised this gist
Mar 25, 2024 . 2 changed files with 3 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -7,10 +7,7 @@ Customize macOS defaults and install software automatically. Open macOS Terminal and run the following command ```bash bash <(curl -s https://gist.github.com/spuder/e5f55f11cf4cbb4e4d175b34ff94e202/raw/5ceeaa516a69911bffe40325a2514942e54912e1/install.sh) ``` > **Warning** This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ echo 'Set macOS defaults...' bash <(curl -s https://gist.github.com/spuder/e5f55f11cf4cbb4e4d175b34ff94e202/raw/5ceeaa516a69911bffe40325a2514942e54912e1/defaults.sh) echo 'Install base macOS software' /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" @@ -11,7 +11,7 @@ brew analytics off export HOMEBREW_NO_ANALYTICS=1 cd ~ curl https://gist.github.com/spuder/e5f55f11cf4cbb4e4d175b34ff94e202/raw/5ceeaa516a69911bffe40325a2514942e54912e1/Brewfile -o Brewfile brew bundle rm Brewfile -
spuder revised this gist
Mar 25, 2024 . 2 changed files with 25 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,9 @@ tap "homebrew/bundle" brew "mas" brew "coreutils" # App Store mas "Slack", id: 803453959 mas "The Unarchiver", id: 425424353 #mas "Spark", id: 1176895641 @@ -49,6 +49,25 @@ cask "keyboardcleantool" cask "stats" cask "betterdisplay" cask "flux" cask "espanso" cask "grandperspective" brew "awscli" brew "automake" brew "watch" brew "dos2unix" brew "rename" brew "s3cmd" brew "colordiff" brew "pwgen" brew "pstree" brew "asciinema" brew "trash" brew "direnv" brew "lolcat" brew "azure-cli" brew "avrdude" brew "mtr" # QUICKLOOK PLUGINS cask 'qlmarkdown' @@ -68,12 +87,11 @@ cask "min" # DEV TOOLS brew "git" cask "visual-studio-code" #cask "fork" brew "jq" cask "arduino-ide" brew "git-lfs" # GIS #tap "osgeo/osgeo4mac" @@ -84,3 +102,6 @@ cask "arduino-ide" # Containers cask "podman-desktop" cask "orbstack" # Paid apps cask "textsniper" This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -11,7 +11,6 @@ sudo -v # Keep-alive: update existing `sudo` time stamp until `.macos` has finished while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & # GENERAL ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # Disable the sound effects on boot @@ -169,7 +168,6 @@ defaults write com.apple.dock autohide -bool true defaults write 'Apple Global Domain' InitialKeyRepeat -int 25 defaults write 'Apple Global Domain' KeyRepeat -int 2 killall Dock killall Finder -
spuder revised this gist
Mar 25, 2024 . 4 changed files with 37 additions and 11 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ Brewfile.lock.json This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ brew "coreutils" mas "Slack", id: 803453959 mas "The Unarchiver", id: 425424353 #mas "Spark", id: 1176895641 # mas "Dropover", id: 1355679052 #mas "Bitwarden", id: 1352778147 mas "Hand Mirror", id: 1502839586 mas "Velja", id: 1607635845 @@ -17,8 +17,6 @@ mas "Things 3", id: 904280696 mas "Wireguard", id: 1451685025 mas "Hidden Bar", id: 1452453066 mas "Simple Note", id: 692867256 # HomeBrew cask "rectangle" @@ -43,6 +41,14 @@ cask "aldente" cask "utm" cask "nvalt" cask "prusaslicer" cask "transmission" cask "monitorcontrol" cask "uhk-agent" cask "displaylink" cask "keyboardcleantool" cask "stats" cask "betterdisplay" cask "flux" # QUICKLOOK PLUGINS cask 'qlmarkdown' @@ -58,11 +64,11 @@ cask "firefox" cask "orion" cask "brave-browser" cask "mullvad-browser" cask "min" # DEV TOOLS brew "git" # cask "node" cask "visual-studio-code" #cask "fork" brew "gh" @@ -76,4 +82,5 @@ cask "arduino-ide" #cask "qgis" # Containers cask "podman-desktop" cask "orbstack" This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ # Default target runs defaults.sh and then brew bundle all: brew-bundle # Target to run brew bundle brew-bundle: brew bundle # Target to run ./defaults.sh defaults: ./defaults.sh .PHONY: all brew-bundle defaults This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # macOS clean setup Customize macOS defaults and install software automatically. ## Setup @@ -16,18 +16,24 @@ bash <(curl -s https://gist.github.com/${user}/${repo}/raw/${version} > **Warning** > macOS user password and iCloud credentials will be prompted :tada: That's it! ## Updates To update just the brew packages (without re-running all scripts) ```bash make ``` ```bash make brew-bundle ``` ```bash make defaults ``` ## Customization If the options in this configuration are not to your taste, fork this gist and customize as you prefer. -
spuder revised this gist
Mar 24, 2024 . 3 changed files with 14 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -42,6 +42,7 @@ cask "discord" cask "aldente" cask "utm" cask "nvalt" cask "prusaslicer" # QUICKLOOK PLUGINS cask 'qlmarkdown' @@ -66,6 +67,7 @@ cask "visual-studio-code" #cask "fork" brew "gh" brew "jq" cask "arduino-ide" # GIS #tap "osgeo/osgeo4mac" This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -18,6 +18,14 @@ bash <(curl -s https://gist.github.com/${user}/${repo}/raw/${version} :tada: That's it! Use this commonly wasted time enjoying a cup of coffee ## Updates To update just the brew packages (without re-running all scripts) ```bash brew bundle ``` ## Customisation If the options in this configuration are not to your taste, fork this gist and customise as you prefer. This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ Show home folder in side bar Show mac hard drive in side bar Disable automaticlaly reopening all application Disable 3 key press for dictionary definition -
spuder revised this gist
Mar 24, 2024 . 2 changed files with 8 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -7,8 +7,10 @@ Customise macOS defaults and install software automatically. Open macOS Terminal and run the following command ```bash user=spuder repo=e5f55f11cf4cbb4e4d175b34ff94e202 version=23a66d7331cec15562c8af7f94cad13e6505bf61 bash <(curl -s https://gist.github.com/${user}/${repo}/raw/${version}/install.sh) ``` > **Warning** This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,6 @@ echo 'Set macOS defaults...' bash <(curl -s https://gist.github.com/spuder/e5f55f11cf4cbb4e4d175b34ff94e202/raw/23a66d7331cec15562c8af7f94cad13e6505bf61/defaults.sh) echo 'Install base macOS software' /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" @@ -10,9 +11,9 @@ brew analytics off export HOMEBREW_NO_ANALYTICS=1 cd ~ curl https://gist.github.com/spuder/e5f55f11cf4cbb4e4d175b34ff94e202/raw/23a66d7331cec15562c8af7f94cad13e6505bf61/Brewfile -o Brewfile brew bundle rm Brewfile echo 'Finished. Some changes require a restart to take effect.' -
spuder revised this gist
Mar 24, 2024 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -164,13 +164,12 @@ defaults write com.apple.dock autohide -bool true # KEYBOARD ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # Speed up keyboard typing speed defaults write 'Apple Global Domain' InitialKeyRepeat -int 25 defaults write 'Apple Global Domain' KeyRepeat -int 2 # APPLICATION CONFIG ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: killall Dock killall Finder -
spuder revised this gist
Mar 24, 2024 . 2 changed files with 76 additions and 37 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,26 +1,47 @@ tap "homebrew/bundle" # App Store brew "mas" brew "coreutils" mas "Slack", id: 803453959 mas "The Unarchiver", id: 425424353 #mas "Spark", id: 1176895641 mas "Dropover", id: 1355679052 #mas "Bitwarden", id: 1352778147 mas "Hand Mirror", id: 1502839586 mas "Velja", id: 1607635845 mas "Tailscale", id: 1475387142 mas "Microsoft TODO", id: 1274495053 mas "Things 3", id: 904280696 mas "Wireguard", id: 1451685025 mas "Hidden Bar", id: 1452453066 mas "Simple Note", id: 692867256 mas "Forklift", id: 412448059 # HomeBrew cask "rectangle" cask "iina" cask "shottr" cask "onyx" cask "appcleaner" # cask "hiddenbar" cask "notion" cask "obsidian" cask "spotify" #cask "around" #cask "cloudmounter" cask "raycast" cask "imageoptim" cask "tempbox" cask "warp" cask "1password" cask "1password-cli" cask "discord" cask "aldente" cask "utm" cask "nvalt" # QUICKLOOK PLUGINS cask 'qlmarkdown' @@ -35,16 +56,22 @@ cask "google-chrome" cask "firefox" cask "orion" cask "brave-browser" cask "mullvad-browser" # DEV TOOLS brew "git" # cask "node" cask "orbstack" cask "visual-studio-code" #cask "fork" brew "gh" brew "jq" # GIS #tap "osgeo/osgeo4mac" #brew "gdal", link: false #brew "osgeo/osgeo4mac/osgeo-grass" #cask "qgis" # Containers cask "podman-desktop" This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,6 @@ #!/usr/bin/env bash set -x # Close any open System Preferences panes, to prevent them from overriding # settings we’re about to change osascript -e 'tell application "System Preferences" to quit' @@ -38,46 +39,46 @@ defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false # Set language and text formats #defaults write NSGlobalDomain AppleLanguages -array "ca" "en" "es" #defaults write NSGlobalDomain AppleLocale -string "es_ES@currency=EUR" #defaults write NSGlobalDomain AppleMeasurementUnits -string "Centimeters" #defaults write NSGlobalDomain AppleMetricUnits -bool true # Set the timezone #sudo systemsetup -settimezone "Europe/Andorra" > /dev/null # Hide language menu in the top right corner of the boot screen #sudo defaults write /Library/Preferences/com.apple.loginwindow showInputMenu -bool false # TRACKPAD ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # Enable tap to click for this user and for the login screen #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 # Enable 3-finger drag #defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerDrag -bool true #defaults write com.apple.AppleMultitouchTrackpad TrackpadThreeFingerDrag -bool true # ENERGY SAVING :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # Enable lid wakeup #sudo pmset -a lidwake 1 # Sleep the display after 5 minutes #sudo pmset -a displaysleep 5 # Disable machine sleep while charging #sudo pmset -c sleep 0 # Set machine sleep to 10 minutes on battery #sudo pmset -b sleep 10 # Disable hibernation #sudo pmset -a hibernatemode 0 # FINDER ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: @@ -132,14 +133,10 @@ defaults write com.apple.finder FXPreferredViewStyle -string "icnv" # Show the ~/Library folder chflags nohidden ~/Library # DOCK :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # Set the icon size of Dock items defaults write com.apple.dock tilesize -int 64 # Minimize windows into their application’s icon defaults write com.apple.dock minimize-to-application -bool true @@ -148,17 +145,32 @@ defaults write com.apple.dock minimize-to-application -bool true defaults write com.apple.dock persistent-apps -array # Don’t show recent applications in Dock # defaults write com.apple.dock show-recents -bool false # Autohide dock defaults write com.apple.dock autohide -bool true # NETWORK ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # Set default Cloudflare DNS (and Google as fallback) #networksetup -setdnsservers Wi-Fi 1.1.1.1 1.0.0.1 8.8.8.8 # TERMINAL ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # Set default Terminal theme to Pro (dark) #defaults write com.apple.terminal "Default Window Settings" -string "Pro" #defaults write com.apple.terminal "Startup Window Settings" -string "Pro" # KEYBOARD ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: # Speed up keyboard typing speed defaults write 'Apple Global Domain' InitialKeyRepeat -int 25 defaults write 'Apple Global Domain' KeyRepeat -int 2 # APPLICATION CONFIG ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: killall Dock killall Finder -
markusand revised this gist
Mar 24, 2024 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -28,6 +28,7 @@ cask 'quicklook-json' cask 'quicklook-csv' cask 'qlstephen' cask 'qlimagesize' cask 'qlcolorcode' # BROWSERS cask "google-chrome" -
markusand revised this gist
Mar 3, 2024 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -33,6 +33,7 @@ cask 'qlimagesize' cask "google-chrome" cask "firefox" cask "orion" cask "brave-browser" # DEV TOOLS brew "git" -
markusand revised this gist
Feb 18, 2024 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,7 @@ mas "Slack", id: 803453959 mas "The Unarchiver", id: 425424353 mas "Spark", id: 1176895641 mas "Dropover", id: 1355679052 mas "Bitwarden", id: 1352778147 cask "rectangle" cask "iina" cask "shottr" -
markusand revised this gist
Feb 9, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Open macOS Terminal and run the following command ```bash bash <(curl -s https://gist.github.com/markusand/d7fb2b097c7e1efc199b1b44c4f99e6b/raw/cfe7c11a317e1f130110343191ca64f14d69039d/install.sh) ``` > **Warning** -
markusand revised this gist
Feb 9, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ brew analytics off export HOMEBREW_NO_ANALYTICS=1 cd ~ curl https://gist.github.com/markusand/d7fb2b097c7e1efc199b1b44c4f99e6b/raw/3620a963ad4f8dd2c79cf3f7ce7791a672b5cb40/Brewfile -o Brewfile brew bundle rm Brewfile -
markusand revised this gist
Feb 9, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,6 +4,7 @@ tap "homebrew/bundle" brew "mas" mas "Slack", id: 803453959 mas "The Unarchiver", id: 425424353 mas "Spark", id: 1176895641 mas "Dropover", id: 1355679052 cask "rectangle" cask "iina" @@ -12,7 +13,6 @@ cask "onyx" cask "appcleaner" cask "hiddenbar" cask "notion" cask "spotify" cask "around" cask "cloudmounter" -
markusand revised this gist
Feb 9, 2024 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,6 +4,7 @@ tap "homebrew/bundle" brew "mas" mas "Slack", id: 803453959 mas "The Unarchiver", id: 425424353 mas "Dropover", id: 1355679052 cask "rectangle" cask "iina" cask "shottr" -
markusand revised this gist
Feb 9, 2024 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,8 +5,14 @@ echo 'Install base macOS software' /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)" brew analytics off export HOMEBREW_NO_ANALYTICS=1 cd ~ curl https://gist.github.com/markusand/d7fb2b097c7e1efc199b1b44c4f99e6b/raw/86b3911d5dc027e1b02fe2481d5e8537d28bf6f8/Brewfile -o Brewfile brew bundle rm Brewfile echo 'Finished. Some changes require a restart to take effect.' -
markusand revised this gist
Feb 9, 2024 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -34,6 +34,7 @@ cask "orion" # DEV TOOLS brew "git" cask "node" cask "orbstack" cask "visual-studio-code" cask "fork" -
markusand revised this gist
Feb 9, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Open macOS Terminal and run the following command ```bash bash <(curl -s https://gist.github.com/markusand/d7fb2b097c7e1efc199b1b44c4f99e6b/raw/834c571e38123b3072ba558681b2d99adc9e08ad/install.sh) ``` > **Warning** -
markusand revised this gist
Feb 9, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ echo 'Install base macOS software' echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)" cd ~ curl https://gist.github.com/markusand/d7fb2b097c7e1efc199b1b44c4f99e6b/raw/86b3911d5dc027e1b02fe2481d5e8537d28bf6f8/Brewfile -o Brewfile brew bundle echo 'Finished. Some changes require a restart to take effect.' -
markusand revised this gist
Feb 9, 2024 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -9,6 +9,7 @@ cask "iina" cask "shottr" cask "onyx" cask "appcleaner" cask "hiddenbar" cask "notion" cask "readdle-spark" cask "spotify" -
markusand revised this gist
Feb 9, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Open macOS Terminal and run the following command ```bash bash <(curl -s https://gist.github.com/markusand/d7fb2b097c7e1efc199b1b44c4f99e6b/raw/36a01408e72f5603095aaafa06a989e7aa57f9ae/install.sh) ``` > **Warning** -
markusand revised this gist
Feb 9, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ echo 'Install base macOS software' echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)" cd ~ curl https://gist.github.com/markusand/d7fb2b097c7e1efc199b1b44c4f99e6b/raw/3da3303a598ea1200be60db8de46b4f6e1b394ef/Brewfile -o Brewfile brew bundle echo 'Finished. Some changes require a restart to take effect.' -
markusand revised this gist
Feb 9, 2024 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,4 @@ tap "homebrew/bundle" # BASIC SOFTWARE brew "mas" -
markusand revised this gist
Feb 9, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Open macOS Terminal and run the following command ```bash bash <(curl -s https://gist.github.com/markusand/d7fb2b097c7e1efc199b1b44c4f99e6b/raw/81bddff8fb1a2e615a029a08fa3f2c293db56cd3/install.sh) ``` > **Warning** -
markusand revised this gist
Feb 9, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ echo 'Install base macOS software' echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)" cd ~ curl https://gist.github.com/markusand/d7fb2b097c7e1efc199b1b44c4f99e6b/raw/e3a482a9278881dafed3d0bac95882d864cacb59/Brewfile -o Brewfile brew bundle echo 'Finished. Some changes require a restart to take effect.'
NewerOlder