Update configurations: add hyprland, README, and dynamic AGS theming

This commit is contained in:
2026-04-19 21:57:22 -04:00
parent 5fbf61834a
commit 53f512c4c4
18 changed files with 376 additions and 5 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
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
# 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