feat: introduce script for manual theme switching in Alacritty and update README for clarity

This commit is contained in:
DannyDannyDanny 2025-09-12 13:33:33 +02:00
parent d7302fd9a6
commit c8a7e3fb34
4 changed files with 121 additions and 40 deletions

View file

@ -155,11 +155,9 @@
};
# Conditional colors based on system theme
colors = let
# Read system theme from file (created by theme detection script)
systemThemeFile = "/Users/danny/.local/share/nvim_color_scheme";
# Default to dark theme if file doesn't exist
isLightTheme = builtins.pathExists systemThemeFile &&
builtins.readFile systemThemeFile == "light\n";
# Set this to true for light theme, false for dark theme
# You can change this and run 'darwin-rebuild switch' to switch themes
isLightTheme = true;
# Catppuccin Latte (Light) colors
lightColors = {