feat: add Alacritty light and dark themes + synchronization scripts

This commit is contained in:
DannyDannyDanny 2025-09-12 12:57:36 +02:00
parent d35b908001
commit bd9cd434d4
9 changed files with 504 additions and 1 deletions

13
scripts/detect-system-theme.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
# Detect macOS system theme (light/dark mode)
# Returns "light" or "dark"
# Get the current appearance setting
appearance=$(defaults read -g AppleInterfaceStyle 2>/dev/null)
if [ "$appearance" = "Dark" ]; then
echo "dark"
else
echo "light"
fi