final corrections

This commit is contained in:
Corey Woodworth
2025-11-02 19:56:30 -05:00
parent b4e923b4af
commit 33487c929e
2 changed files with 27 additions and 80 deletions
+23 -77
View File
@@ -1,85 +1,31 @@
[colors]
ansi = [
"{{ colors.surface.default.hex }}",
"{{ colors.error.default.hex }}",
"{{ colors.primary.default.hex }}",
"{{ colors.tertiary.default.hex }}",
"{{ colors.on_primary_container.default.hex }}",
"{{ colors.on_secondary_container.default.hex }}",
"{{ colors.secondary.default.hex }}",
"{{ colors.on_surface.default.hex }}",
"{{colors.surface.default.hex}}",
"{{colors.error.default.hex}}",
"{{colors.tertiary.default.hex}}",
"{{colors.secondary.default.hex}}",
"{{colors.primary.default.hex}}",
"{{colors.tertiary_fixed_dim.default.hex}}",
"{{colors.secondary_fixed_dim.default.hex}}",
"{{colors.on_surface.default.hex}}",
]
background = "{{ colors.background.default.hex }}"
background = "{{colors.surface.default.hex}}"
brights = [
"{{ colors.surface_bright.default.hex }}",
"{{ colors.error.default.hex }}",
"{{ colors.primary.default.hex }}",
"{{ colors.tertiary.default.hex }}",
"{{ colors.on_primary_container.default.hex }}",
"{{ colors.on_secondary_container.default.hex }}",
"{{ colors.secondary.default.hex }}",
"{{ colors.on_surface.default.hex }}",
"{{colors.outline.default.hex}}",
"{{colors.error.default.hex}}",
"{{colors.tertiary.default.hex}}",
"{{colors.secondary.default.hex}}",
"{{colors.primary.default.hex}}",
"{{colors.tertiary_fixed_dim.default.hex}}",
"{{colors.secondary_fixed_dim.default.hex}}",
"{{colors.on_surface.default.hex}}",
]
compose_cursor = "{{ colors.on_surface.default.hex }}"
cursor_bg = "{{ colors.on_surface.default.hex }}"
cursor_border = "{{ colors.on_surface.default.hex }}"
cursor_fg = "{{ colors.surface_variant.default.hex }}"
foreground = "{{ colors.on_surface.default.hex }}"
scrollbar_thumb = "{{ colors.on_surface.default.hex }}"
selection_bg = "{{ colors.on_primary.default.hex }}"
selection_fg = "{{ colors.primary.default.hex }}"
split = "{{ colors.on_surface.default.hex }}"
visual_bell = "{{ colors.surface_variant.default.hex }}"
[colors.indexed]
16 = "{{ colors.secondary.default.hex }}"
17 = "{{ colors.on_surface.default.hex }}"
[colors.tab_bar]
background = "{{ colors.surface_variant.default.hex }}"
inactive_tab_edge = "{{ colors.outline.default.hex }}"
[colors.tab_bar.active_tab]
bg_color = "{{ colors.primary.default.hex }}"
fg_color = "{{ colors.on_primary.default.hex }}"
intensity = "Normal"
italic = false
strikethrough = false
underline = "None"
[colors.tab_bar.inactive_tab]
bg_color = "{{ colors.surface.default.hex }}"
fg_color = "{{ colors.on_surface.default.hex }}"
intensity = "Normal"
italic = false
strikethrough = false
underline = "None"
[colors.tab_bar.inactive_tab_hover]
bg_color = "{{ colors.surface_variant.default.hex }}"
fg_color = "{{ colors.on_surface_variant.default.hex }}"
intensity = "Normal"
italic = false
strikethrough = false
underline = "None"
[colors.tab_bar.new_tab]
bg_color = "{{ colors.surface.default.hex }}"
fg_color = "{{ colors.on_surface.default.hex }}"
intensity = "Normal"
italic = false
strikethrough = false
underline = "None"
[colors.tab_bar.new_tab_hover]
bg_color = "{{ colors.secondary.default.hex }}"
fg_color = "{{ colors.on_secondary.default.hex }}"
intensity = "Normal"
italic = false
strikethrough = false
underline = "None"
cursor_bg = "{{colors.on_surface.default.hex}}"
cursor_border = "{{colors.on_surface.default.hex}}"
cursor_fg = "{{colors.surface.default.hex}}"
foreground = "{{colors.on_surface.default.hex}}"
selection_bg = "{{colors.surface_variant.default.hex}}"
selection_fg = "{{colors.on_surface_variant.default.hex}}"
[metadata]
aliases = ["Noctalia"]
name = "Noctalia"
wezterm_version = "Always"
+4 -3
View File
@@ -121,19 +121,20 @@ wezterm)
else
# It doesn't exist, so we add it before the 'return config' line.
if grep -q '^\s*return\s*config' "$CONFIG_FILE"; then
# It exists. Insert the line before it.
# 'return config' exists. Insert the line before it.
sed -i "/^\s*return\s*config/i\\$wezterm_scheme_line" "$CONFIG_FILE"
else
# This is a problem. We can't find the insertion point.
echo "Warning: 'config.color_scheme' not set and 'return config' line not found." >&2
echo " Please add '$wezterm_scheme_line' to $CONFIG_FILE manually." >&2
echo " Make sure $CONFIG_FILE is correct: https://wezterm.org/config/files.html" >&2
fi
fi
fi
# touching the config file fools wezterm into reloading it
touch "$CONFIG_FILE"
else
echo "Error: wezterm config file not found at $CONFIG_FILE" >&2
echo "Error: wezterm.lua not found at $CONFIG_FILE" >&2
echo "Instructions to create it: https://wezterm.org/config/files.html" >&2
exit 1
fi
;;