Initial import: Lua config, trimmed omarchy scripts, theme system

This commit is contained in:
2026-06-11 19:06:22 +02:00
commit 835a9aa3b5
536 changed files with 12459 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
#!/bin/bash
# archypr:summary=Set the Plymouth boot theme from an Omarchy theme
# archypr:args=<theme-name>
# archypr:requires-sudo=true
# Resolve a theme by name and apply its unlock.png + colors.toml as the
# Plymouth boot screen via archypr-plymouth-set.
if [[ $# -ne 1 ]]; then
echo "Usage: archypr-plymouth-set-by-theme <theme-name>" >&2
exit 1
fi
theme=$1
if [[ -d ~/.config/archypr/themes/$theme ]]; then
theme_dir=~/.config/archypr/themes/$theme
else
theme_dir="$ARCHYPR_PATH/themes/$theme"
fi
bg=$(awk -F'"' '/^background/{print $2}' "$theme_dir/colors.toml")
text=$(awk -F'"' '/^foreground/{print $2}' "$theme_dir/colors.toml")
exec archypr-plymouth-set "$bg" "$text" "$theme_dir/unlock.png"