mirror of
https://github.com/RGBCube/ThemeNix
synced 2025-07-28 17:07:46 +00:00
Fix visualization script
This commit is contained in:
parent
9f6d2cda4b
commit
c188d0d729
2 changed files with 13 additions and 17 deletions
|
@ -50,18 +50,18 @@ def main [] {
|
|||
mkdir themes
|
||||
|
||||
ls base16-schemes
|
||||
| filter {
|
||||
let extension = ($in.name | path parse | get extension)
|
||||
| filter {
|
||||
let extension = ($in.name | path parse | get extension)
|
||||
|
||||
$extension == "yml" or $extension == "yaml"
|
||||
}
|
||||
| each { |it|
|
||||
let new_path = "themes/" + ($it.name | path parse | get stem) + ".nix"
|
||||
$extension == "yml" or $extension == "yaml"
|
||||
}
|
||||
| each { |it|
|
||||
let new_path = "themes/" + ($it.name | path parse | get stem) + ".nix"
|
||||
|
||||
echo $"converting ($it.name) to ($new_path)..."
|
||||
echo $"converting ($it.name) to ($new_path)..."
|
||||
|
||||
theme-to-nix (open $it.name) | save $new_path
|
||||
}
|
||||
theme-to-nix (open $it.name) | save $new_path
|
||||
}
|
||||
|
||||
generate-valid-themes
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue