mirror of
https://github.com/RGBCube/ThemeNix
synced 2025-08-02 11:27:47 +00:00
Compare commits
2 commits
c188d0d729
...
1267b9132b
Author | SHA1 | Date | |
---|---|---|---|
1267b9132b | |||
ef2c6ce044 |
2 changed files with 11 additions and 11 deletions
|
@ -24,7 +24,7 @@ def theme-to-nix [
|
|||
}
|
||||
|
||||
def generate-valid-themes [] {
|
||||
echo "generating themes.nix..."
|
||||
print "generating themes.nix..."
|
||||
|
||||
ls themes
|
||||
| each { |it| ' "' + ($it.name | path parse | get stem) + '" = import ./' + $it.name + ";" }
|
||||
|
@ -36,16 +36,16 @@ def generate-valid-themes [] {
|
|||
|
||||
def main [] {
|
||||
if not ("base16-schemes" | path exists) {
|
||||
echo "base16-schemes doesn't exist, cloning..."
|
||||
print "base16-schemes doesn't exist, cloning..."
|
||||
git clone https://github.com/tinted-theming/base16-schemes
|
||||
} else {
|
||||
echo "base16-schemes exists, updating"
|
||||
print "base16-schemes exists, updating"
|
||||
cd base16-schemes
|
||||
git pull
|
||||
cd ..
|
||||
}
|
||||
|
||||
echo "deleting old themes..."
|
||||
print "deleting old themes..."
|
||||
rm -rf themes
|
||||
mkdir themes
|
||||
|
||||
|
@ -58,7 +58,7 @@ def main [] {
|
|||
| each { |it|
|
||||
let new_path = "themes/" + ($it.name | path parse | get stem) + ".nix"
|
||||
|
||||
echo $"converting ($it.name) to ($new_path)..."
|
||||
print $"converting ($it.name) to ($new_path)..."
|
||||
|
||||
theme-to-nix (open $it.name) | save $new_path
|
||||
}
|
||||
|
|
|
@ -15,19 +15,19 @@ theme[selected_bg]="${base01}"
|
|||
|
||||
theme[selected_fg]="${base06}"
|
||||
|
||||
theme[inactive_fg]="${base0E}"
|
||||
theme[inactive_fg]="${base03}"
|
||||
|
||||
theme[proc_misc]="${base0B}"
|
||||
|
||||
theme[cpu_box]="${base0E}"
|
||||
theme[cpu_box]="${base03}"
|
||||
|
||||
theme[mem_box]="${base0E}"
|
||||
theme[mem_box]="${base03}"
|
||||
|
||||
theme[net_box]="${base0E}"
|
||||
theme[net_box]="${base03}"
|
||||
|
||||
theme[proc_box]="${base0E}"
|
||||
theme[proc_box]="${base03}"
|
||||
|
||||
theme[div_line]="${base0E}"
|
||||
theme[div_line]="${base03}"
|
||||
|
||||
theme[temp_start]="${base0C}"
|
||||
theme[temp_mid]="${base0A}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue