Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Xscriptor PowerShell / Windows Terminal / WSL Themes


Previews

Preview

Preview

Preview Preview

Preview

Quick Install

  • Open PowerShell
  • Run:
    Set-ExecutionPolicy Bypass -Scope Process -Force
    .\powershell\install.ps1
  • This imports all themes from themes into Windows Terminal and sets “x” for PowerShell profiles
  • Restart Windows Terminal (or PowerShell if launched inside it)

Remote Install

  • Remote install (Windows PowerShell 5.1):
    [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
    Set-ExecutionPolicy Bypass -Scope Process -Force
    iex (iwr 'https://raw.githubusercontent.com/xscriptor/terminal/main/powershell/install.ps1' -UseBasicParsing).Content
  • Remote install (PowerShell 7+):
    Set-ExecutionPolicy Bypass -Scope Process -Force
    irm 'https://raw.githubusercontent.com/xscriptor/terminal/main/powershell/install.ps1' -Raw | iex
  • Default one-liner:
    Set-ExecutionPolicy Bypass -Scope Process -Force
    irm https://raw.githubusercontent.com/xscriptor/terminal/main/powershell/install.ps1 | iex
  • Alternative (PS 5.1, download to TEMP and run):
    [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
    Set-ExecutionPolicy Bypass -Scope Process -Force
    $localPath = "$env:TEMP\install-xscriptor.ps1"
    Invoke-WebRequest 'https://raw.githubusercontent.com/xscriptor/terminal/main/powershell/install.ps1' -OutFile $localPath -UseBasicParsing
    & $localPath
  • With a specific scheme:
    Set-ExecutionPolicy Bypass -Scope Process -Force
    $u='https://raw.githubusercontent.com/xscriptor/terminal/main/powershell/install.ps1'; $p="$env:TEMP\\install.ps1"; iwr $u -UseBasicParsing -OutFile $p; & $p -SetSchemeName 'oslo'
  • Notes:
    • The installer detects your settings.json automatically (Store/WinGet)
    • If the local themes directory is not present, it downloads themes from the repo and imports them

Uninstall

  • PowerShell (Windows)

    Remote uninstall (Windows PowerShell 5.1):

    [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
    Set-ExecutionPolicy Bypass -Scope Process -Force
    iex (iwr 'https://raw.githubusercontent.com/xscriptor/terminal/main/powershell/uninstall.ps1' -UseBasicParsing).Content

    Remote uninstall (PowerShell 7+):

    Set-ExecutionPolicy Bypass -Scope Process -Force
    irm 'https://raw.githubusercontent.com/xscriptor/terminal/main/powershell/uninstall.ps1' -Raw | iex

    Default one-liner:

    Set-ExecutionPolicy Bypass -Scope Process -Force
    irm https://raw.githubusercontent.com/xscriptor/terminal/main/powershell/uninstall.ps1 | iex

    Restore from backup:

    Set-ExecutionPolicy Bypass -Scope Process -Force
    $u='https://raw.githubusercontent.com/xscriptor/terminal/main/powershell/uninstall.ps1'; $p="$env:TEMP\\uninstall.ps1"; iwr $u -UseBasicParsing -OutFile $p; & $p -Restore

Choose a specific theme

  • Pass the exact scheme name:
    Set-ExecutionPolicy Bypass -Scope Process -Force
    .\powershell\install.ps1 -SetSchemeName "oslo"
  • Available names include:
    • x, madrid
    • lahabana, seul
    • miami, paris, tokio
    • oslo, helsinki
    • berlin, london
    • praha, bogota

Manual Install

  • Open Windows Terminal settings.json:
    • Store path: %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json
    • WinGet path: %LOCALAPPDATA%\Microsoft\Windows Terminal\settings.json
  • Copy the “schemes” object from any file in themes into the top-level "schemes": [] array of your settings.json
  • In your PowerShell profile, set:
    "colorScheme": "x"
  • Optionally set defaults:
    "profiles": { "defaults": { "colorScheme": "x" } }
  • Save and restart Windows Terminal

Themes

Notes

  • The installer automatically detects settings.json location (Store/WinGet)
  • It replaces existing schemes with the same name to keep them in sync
  • Set profiles.defaults.colorScheme to apply your choice to all new profiles