Skip to content

Commit

Permalink
Enable wal backend
Browse files Browse the repository at this point in the history
  • Loading branch information
scaryrawr committed Nov 10, 2020
1 parent 4858563 commit a6ce503
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ Use [`pip`](https://pypi.org/project/pip/) to install:
- [colorz](https://github.com/metakirby5/colorz)
- [haishoku](https://github.com/LanceGin/haishoku)

For `wal` Backend, install [ImageMagick](https://imagemagick.org/) and add to path:

```bat
winget install ImageMagick
```

[PowerShell-Core](https://github.com/powershell/powershell/) `winget install -e Microsoft.PowerShell`

Note: PowerShell versions less that 6 don't support JSON with comments
Expand Down Expand Up @@ -78,4 +84,4 @@ There's also instructions in [pywal](https://github.com/dylanaraps/pywal) on set

## VS Code Plugins Used
- [wal-theme](https://marketplace.visualstudio.com/items?itemName=dlasagno.wal-theme)
- [GlassIt-VSC](https://marketplace.visualstudio.com/items?itemName=s-nlf-fh.glassit)
- [GlassIt-VSC](https://marketplace.visualstudio.com/items?itemName=s-nlf-fh.glassit)
4 changes: 2 additions & 2 deletions winwal.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function Update-WalTheme {
param(
# Path to image to set as background, if not set current wallpaper is used
[string]$Image,
[ValidateSet('colorthief', 'colorz', 'haishoku')]$Backend = 'colorthief'
[ValidateSet('wal', 'colorthief', 'colorz', 'haishoku')]$Backend = 'colorthief'
)

$img = (Get-ItemProperty -Path 'HKCU:/Control Panel/Desktop' -Name Wallpaper).Wallpaper
Expand Down Expand Up @@ -139,4 +139,4 @@ function Update-WalTheme {

# Update prompt defaults
Update-WalCommandPrompt
}
}

0 comments on commit a6ce503

Please sign in to comment.