Track Windows Terminal settings in the repo

- windows/windows-terminal/settings.json: Australis scheme, VictorMono
  Nerd Font Mono, acrylic on the PowerShell profile
- link-dotfiles.ps1: link it into the Terminal LocalState folder
- README: document the windows/ folder and Terminal setup

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
lkrav
2026-06-08 13:29:45 -07:00
co-authored by Claude Opus 4.8
parent 77a8d25488
commit e87e55521f
3 changed files with 164 additions and 0 deletions
+11
View File
@@ -102,4 +102,15 @@ Get-ChildItem -LiteralPath (Join-Path $repo 'home_config') -Force |
Where-Object { $skip -notcontains $_.Name } |
ForEach-Object { Link-Item $_.FullName (Join-Path $configDir $_.Name) }
# Windows Terminal lives in a package folder outside the stow tree, so link its
# settings.json explicitly. Skipped silently if Terminal isn't installed.
$wtPkg = Get-ChildItem (Join-Path $env:LOCALAPPDATA 'Packages') -Filter 'Microsoft.WindowsTerminal_*' -Directory -ErrorAction SilentlyContinue |
Select-Object -First 1
$wtSrc = Join-Path $repo 'windows\windows-terminal\settings.json'
if ($wtPkg -and (Test-Path $wtSrc)) {
$wtDest = Join-Path $wtPkg.FullName 'LocalState\settings.json'
Write-Host "windows-terminal -> $wtDest"
Link-Item $wtSrc $wtDest
}
Write-Host "Done." -ForegroundColor Green