From 9a6181648435d440ddfe7cacdf1cbd242ea77b50 Mon Sep 17 00:00:00 2001 From: Sneed Group Holder Date: Sat, 2 Nov 2024 14:07:41 -0500 Subject: [PATCH] Move common settings to more-common-settings.sh --- full.zsh | 26 -------------------------- lite.zsh | 33 --------------------------------- more-common-settings.sh | 27 ++++++++++++++++++++++++++- 3 files changed, 26 insertions(+), 60 deletions(-) diff --git a/full.zsh b/full.zsh index 8b169d4..ac28112 100644 --- a/full.zsh +++ b/full.zsh @@ -41,32 +41,6 @@ sudo npm install -g cordova echo "[DSMOSS] Install Mac App Store stuffs..." mas install 497799835 682658836 425424353 937984704 # XCode, GarageBand, The Unarchiver, Amphetamine. -# Settings -echo "[DSMOSS] Edit settings..." -defaults write com.apple.TextEdit NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false -defaults write -g ApplePressAndHoldEnabled -bool false -defaults write com.apple.swipescrolldirection -bool false -defaults write NSGlobalDomain AppleShowAllExtensions -bool true -mkdir ~/Pictures/screenies -defaults write com.apple.screencapture location ~/Pictures/screenies -killall SystemUIServer -defaults write com.apple.dock static-only -bool true -killall Dock -defaults write com.apple.finder ShowDesktopOnFrontmostApp -bool false -killall Finder - -# Sneed Settings -echo "[DSMOSS] Set sneed settings..." -open open "/System/Library/PreferencePanes/Profiles.prefPane" "sneed-settings.mobileconfig" -echo Enable Sneed Settings then press ENTER. -read - -# Setup Git -echo "[DSMOSS] Setup Git..." -git config --global --add credential.helper manager -git config --global user.name "Sneed Group Holder" -git config --global user.email "no@nope.nicetry" - # Install DOOM shareware echo "[DSMOSS] [GZD] Install DOOM Shareware..." brew install --cask gzdoom diff --git a/lite.zsh b/lite.zsh index 979e3ea..ea8b1cf 100755 --- a/lite.zsh +++ b/lite.zsh @@ -28,8 +28,6 @@ brew tap localsend/localsend brew install localsend brew install --cask nvidia-geforce-now roblox brew install git-credential-manager -brew tap macos-fuse-t/homebrew-cask -brew install fuse-t fuse-t-sshfs brew install --cask twingate # NPM global @@ -40,31 +38,6 @@ sudo npm install -g cordova echo "[DSMOSS] Install Mac App Store stuffs..." mas install 425424353 937984704 # The Unarchiver, Amphetamine. -# Settings -echo "[DSMOSS] Edit settings..." -defaults write com.apple.TextEdit NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false -defaults write -g ApplePressAndHoldEnabled -bool false -defaults write NSGlobalDomain AppleShowAllExtensions -bool true -mkdir ~/Pictures/screenies -defaults write com.apple.screencapture location ~/Pictures/screenies -killall SystemUIServer -defaults write com.apple.dock static-only -bool true -killall Dock -defaults write com.apple.finder ShowDesktopOnFrontmostApp -bool false -killall Finder - -# Sneed Settings -echo "[DSMOSS] Set sneed settings..." -open open "/System/Library/PreferencePanes/Profiles.prefPane" "sneed-settings.mobileconfig" -echo Enable Sneed Settings then press ENTER. -read - -# Setup Git -echo "[DSMOSS] Setup Git..." -git config --global --add credential.helper manager -git config --global user.name "Sneed Group Holder" -git config --global user.email "no@nope.nicetry" - # Install DOOM shareware echo "[DSMOSS] [CHOCOD] Install DOOM Shareware..." brew install chocolate-doom @@ -89,12 +62,6 @@ echo 'export PATH="/usr/local/opt/openjdk@21/bin:$PATH"' >> ~/.zshrc wget https://github.com/HMCL-dev/HMCL/releases/download/v3.5.9.259/HMCL-3.5.9.259.sh -O ~/Minecraft.sh chmod +x ~/Minecraft.sh -# Create cloud init.... -echo "[DSMOSS] Create cloud init..." -mkdir ~/Cloud -echo 'sshfs dh_ekhqt7@pdx1-shared-a3-04.dreamhost.com:/home/dh_ekhqt7/rfs.sparksammy.com/LordCloud ~/Cloud' > ~/cloudinit.sh -chmod +x ~/cloudinit.sh - # Create SSH helpers... echo "[DSMOSS] Create SSH helpers..." echo 'ssh root@192.168.50.144' > ~/ssh-to-felix.sh diff --git a/more-common-settings.sh b/more-common-settings.sh index 1c6a86c..a8a4ceb 100755 --- a/more-common-settings.sh +++ b/more-common-settings.sh @@ -110,4 +110,29 @@ echo "[DSMOSS] Add NextDNS..." open "/System/Library/PreferencePanes/Profiles.prefPane" "nxt.mobileconfig" echo Enable NextDNS then press ENTER. read -sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder \ No newline at end of file +sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder + +# Settings +echo "[DSMOSS] Edit settings..." +defaults write com.apple.TextEdit NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false +defaults write -g ApplePressAndHoldEnabled -bool false +defaults write NSGlobalDomain AppleShowAllExtensions -bool true +mkdir ~/Pictures/screenies +defaults write com.apple.screencapture location ~/Pictures/screenies +killall SystemUIServer +defaults write com.apple.dock static-only -bool true +killall Dock +defaults write com.apple.finder ShowDesktopOnFrontmostApp -bool false +killall Finder + +# Sneed Settings +echo "[DSMOSS] Set sneed settings..." +open open "/System/Library/PreferencePanes/Profiles.prefPane" "sneed-settings.mobileconfig" +echo Enable Sneed Settings then press ENTER. +read + +# Setup Git +echo "[DSMOSS] Setup Git..." +git config --global --add credential.helper manager +git config --global user.name "Sneed Group Holder" +git config --global user.email "no@nope.nicetry" \ No newline at end of file