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
+23
View File
@@ -0,0 +1,23 @@
#!/bin/bash
# archypr:summary=Overwrite the package configuration for /etc/pacman with the Omarchy default of using its dedicated mirrors and repositories, then update all packages.
# archypr:requires-sudo=true
sudo cp -f /etc/pacman.conf /etc/pacman.conf.bak
sudo cp -f /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
channel="${1:-stable}"
if [[ $channel != "stable" && $channel != "rc" && $channel != "edge" ]]; then
echo "Error: Invalid channel '$channel'. Must be one of: stable, rc, edge"
exit 1
fi
echo "Setting channel to $channel"
echo
sudo cp -f "$ARCHYPR_PATH/default/pacman/pacman-$channel.conf" /etc/pacman.conf
sudo cp -f "$ARCHYPR_PATH/default/pacman/mirrorlist-$channel" /etc/pacman.d/mirrorlist
# Reset all package DBs and then update
sudo pacman -Syyuu --noconfirm