Skip to content

scaryrawr/winwal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

winwal

A wrapper around pywal for Windows.

Cycle Image Demo Art from wallpaperhub

Dependencies

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:

For wal Backend, install ImageMagick and add to path:

choco install -y imagemagick

Windows on ARM64 Please install the static version of ImageMagick from their downloads to avoid issues.

For schemer2 backend, install Go and run:

go install github.com/thefryscorer/schemer2@latest

PowerShell-Core winget install -e Microsoft.PowerShell

Note: PowerShell versions less that 6 don't support JSON with comments

winget install Python
pip install pywal colorthief colorz haishoku

Installing

Clone the repository and update your powershell profile to have:

Import-Module .\path\to\winwal.psm1

To open your profile with code:

code $profile

Using

To update wal cache Windows Terminal Color Scheme using the current wallpaper:

Update-WalTheme

To use a different backend with the current wallpaper:

Update-WalTheme -Backend haishoku

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.

Keep WSL in sync

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).

VS Code Plugins Used

Recommended PowerShell Modules

Terminal