mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
Sync 20241109
This commit is contained in:
parent
b9dda715fb
commit
855fc9db2c
3 changed files with 11 additions and 2 deletions
|
|
@ -1,10 +1,14 @@
|
||||||
#! /bin/zsh
|
#! /bin/zsh
|
||||||
# This script is used to setup a new mac
|
# This script is used to setup a new mac
|
||||||
|
# In a new mac (Sequoia)
|
||||||
|
# Enter the following command in the terminal
|
||||||
|
#! curl -fsSL https://raw.githubusercontent.com/js0ny/dotfiles/refs/heads/master/mac/mac_setup.sh | zsh
|
||||||
|
|
||||||
echo "Running the setup script"
|
echo "Running the setup script"
|
||||||
|
|
||||||
# Xcode Command Line Tools
|
# Xcode Command Line Tools
|
||||||
echo "[INFO] Installing Xcode Command Line Tools"
|
echo "[INFO] Installing Xcode Command Line Tools"
|
||||||
|
echo "[ACTION] Request Human Takeover"
|
||||||
xcode-select --install
|
xcode-select --install
|
||||||
|
|
||||||
# System Preferences
|
# System Preferences
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ function Set-SystemTheme {
|
||||||
Write-Host "已切换到浅色模式"
|
Write-Host "已切换到浅色模式"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Set-Alias "theme" "Set-SystemTheme"
|
Set-Alias "dark-mode" "Set-SystemTheme" # Consistent with macOS (`dark-mode`)
|
||||||
|
|
||||||
# Miscs #
|
# Miscs #
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -126,9 +126,14 @@ winget install -e --id XPFCKBRNFZQ62G --source msstore # WeChat in Windows Store
|
||||||
|
|
||||||
# Others
|
# Others
|
||||||
winget install -e --id Appest.TickTick
|
winget install -e --id Appest.TickTick
|
||||||
|
winget install -e --id 9NBLGGH4Z1SP --source msstore # ShareX (screen capture)
|
||||||
|
|
||||||
# Fonts
|
# Fonts
|
||||||
scoop install FiraCode-NF
|
scoop install FiraCode-NF
|
||||||
scoop install CascadiaCode-NF
|
scoop install CascadiaCode-NF
|
||||||
scoop install LXGWWenKai # 霞鹜文楷
|
scoop install LXGWWenKai # 霞鹜文楷
|
||||||
scoop install LXGWWenKaiMono # 霞鹜文楷Mono
|
scoop install LXGWWenKaiMono # 霞鹜文楷Mono
|
||||||
|
|
||||||
|
# WSL
|
||||||
|
scoop install archwsl
|
||||||
|
wsl --set-version Arch 1
|
||||||
Loading…
Add table
Add a link
Reference in a new issue