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
+20
View File
@@ -0,0 +1,20 @@
#!/bin/bash
# archypr:summary=Install Arch packages if they are missing
# archypr:args=<packages...>
# archypr:examples=omarchy pkg add jq ripgrep
# archypr:requires-sudo=true
if archypr-pkg-missing "$@"; then
sudo pacman -S --noconfirm --needed "$@" || exit 1
fi
for pkg in "$@"; do
# Secondary check to handle states where pacman doesn't actually register an error
if ! pacman -Q "$pkg" &>/dev/null; then
echo -e "\033[31mError: Package '$pkg' did not install\033[0m" >&2
exit 1
fi
done
exit 0