Migrate dotfiles to Omarchy 4

Claude-Session: https://claude.ai/code/session_014ADhvRXuiTvrXSbConxUey
This commit is contained in:
2026-08-19 13:46:33 -04:00
parent 007a032568
commit a0b06b12a3
35 changed files with 390 additions and 876 deletions
+2 -2
View File
@@ -3,10 +3,10 @@ THEME_NAME=$1
echo "Theme changed to: $THEME_NAME"
# Generate AGS colors from Omarchy theme colors.toml
awk -F '=' 'NF==2 { gsub(/"/,"",$2); gsub(/ /,"",$1); gsub(/ /,"",$2); print "@define-color " $1 " " $2 ";" }' ~/.config/omarchy/current/theme/colors.toml > ~/.config/ags/colors.css
awk -F '=' 'NF==2 { gsub(/"/,"",$2); gsub(/ /,"",$1); gsub(/ /,"",$2); print "@define-color " $1 " " $2 ";" }' ~/.local/state/omarchy/current/theme/colors.toml > ~/.config/ags/colors.css
# Restart AGS to apply new theme colors
if command -v ags &> /dev/null; then
ags quit || true
nohup ags run -d "$HOME/.config/ags" >/dev/null 2>&1 &
fi
fi