Skip to content
forked from scaryrawr/winwal

A PowerShell wrapper around the pywal tool

License

Notifications You must be signed in to change notification settings

mwdavisii/winwal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 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:

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

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

About

A PowerShell wrapper around the pywal tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 98.7%
  • Python 1.2%
  • Batchfile 0.1%