A wrapper around pywal for Windows.
Art from wallpaperhub
Only 1 backend is needed to get started, but each backend will provide slightly different color schemes.
pywal supports more backends, but I have not tried figuring them all out on Windows yet.
Use pip
to install:
PowerShell-Core winget install -e Microsoft.PowerShell
Note: PowerShell versions less that 6 don't support JSON with comments
winget install Python.Python
pip install pywal
pip install colorthief
pip install colorz
pip install haishoku
Clone the repository and update your powershell profile to have:
Import-Module .\path\to\winwal.psm1
To open your profile with code:
code $profile
To update wal cache Windows Terminal Color Scheme using the current wallpaper:
Update-WalTheme
To update wal cache, Windows Terminal Color Scheme, and set the desktop wallpaper:
Update-WalTheme -Image .\path\to\new\background.jpg
To update Windows Terminal Color Scheme with existing wal cache:
Update-WalTerminal
To update pwsh prompt (not Windows Terminal):
Update-WalCommandPrompt
Notes: Update-WalCommandPrompt
will download ColorTool and use it to set the new default color schemes.
I have pywal installed in WSL and create a symbolic link in WSL so I only have to update in Windows and it gets mirrored in WSL:
ln -s /mnt/c/Users/username/.cache/wal ~/.cache/wal
There's also instructions in pywal on setting up your dot files that need to be followed (look for .bashrc instructions).