feat: introduce script for manual theme switching in Alacritty and update README for clarity ✨
This commit is contained in:
parent
d7302fd9a6
commit
c8a7e3fb34
4 changed files with 121 additions and 40 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue