mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
Sync from Mac
This commit is contained in:
parent
ba4f13b15b
commit
e47d9748f8
3 changed files with 20 additions and 3 deletions
|
|
@ -43,6 +43,7 @@ defaults write com.apple.dock autohide -bool true # Autohide Dock
|
|||
defaults write com.apple.dock autohide-time-modifier -float 0.5
|
||||
defaults write com.apple.dock autohide-delay -float 0 # Immediately Autohide Dock
|
||||
defaults write com.apple.dock show-recents -bool false # Hide Recent Applications
|
||||
killall Dock
|
||||
## Trackpad
|
||||
echo "[INFO] Setting Trackpad Preferences"
|
||||
defaults write com.apple.AppleMultitouchTrackpad TrackpadThreeFingerDrag -bool true
|
||||
|
|
@ -102,7 +103,7 @@ brew install --cask keka # Archiver
|
|||
brew install --cask google-drive # Cloud Storage
|
||||
|
||||
# CLI
|
||||
brew install --formula cfiles
|
||||
# brew install --formula cfiles # Not Available
|
||||
brew install --formula fastfetch # 這輩子有了
|
||||
brew install --formula fzf
|
||||
brew install --formula ffmpeg
|
||||
|
|
@ -116,6 +117,10 @@ brew install --formula zellij # Better Tmux for me
|
|||
brew install --formula wget
|
||||
brew install --formula wget2
|
||||
brew install --formula speedtest-cli
|
||||
brew install --formula tldr # Simplified man pages
|
||||
brew install --formula cmake
|
||||
brew install --formula bat
|
||||
brew install --formula lsd
|
||||
|
||||
# Editors
|
||||
brew install --cask visual-studio-code
|
||||
|
|
@ -168,7 +173,7 @@ brew install --cask ltspice
|
|||
brew install --cask mactex-no-gui
|
||||
|
||||
# Browser
|
||||
brew install --cask edge # Default
|
||||
brew install --cask microsoft-edge # Default
|
||||
brew install --cask arc
|
||||
brew install --cask firefox@nightly
|
||||
|
||||
|
|
@ -207,6 +212,7 @@ curl -fsSL https://raw.githubusercontent.com/rime/plum/master/rime-install | bas
|
|||
# Set default apps (duti)
|
||||
# The id of the app can be found by running
|
||||
# `osascript -e 'id of app "AppName"'`
|
||||
brew install --formula duti
|
||||
echo "[INFO] Setting Default Apps"
|
||||
# Markdown -> Typora
|
||||
duti -s abnerworks.Typora .md all
|
||||
|
|
@ -262,4 +268,11 @@ duti -s com.jetbrains.rider .csproj all
|
|||
duti -s com.jetbrains.rider .fsproj all
|
||||
# Video -> IINA
|
||||
duti -s com.colliderli.iina .mp4 all
|
||||
duti -s com.colliderli.iina .mkv all
|
||||
duti -s com.colliderli.iina .mkv all
|
||||
|
||||
|
||||
# Install `code` command to path
|
||||
cat << EOF >> ~/.config/zsh/.zprofile
|
||||
# Add Visual Studio Code (code)
|
||||
export PATH="\$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
|
||||
EOF
|
||||
1
mac/plum
Submodule
1
mac/plum
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 4c28f11f451facef809b380502874a48ba964ddb
|
||||
Loading…
Add table
Add a link
Reference in a new issue