mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Rip out the last remnants of AUR
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
echo "Add Terminal Text Effects for rizzing Omarchy"
|
||||
if omarchy-pkg-aur-accessible; then
|
||||
if ! yay -Q python-terminaltexteffects &>/dev/null; then
|
||||
yay -S --noconfirm --needed python-terminaltexteffects
|
||||
fi
|
||||
else
|
||||
echo -e "\n\e[31mAUR is unavailable. Install python-terminaltexteffects via AUR manually later.\e[0m"
|
||||
|
||||
if ! pacman -Q python-terminaltexteffects &>/dev/null; then
|
||||
sudo pacman -S --noconfirm python-terminaltexteffects
|
||||
fi
|
||||
|
||||
@@ -5,10 +5,8 @@ if ! pacman -Q ttf-cascadia-mono-nerd &>/dev/null; then
|
||||
fc-cache
|
||||
fi
|
||||
|
||||
if omarchy-aur-accessible; then
|
||||
if ! yay -Q ttf-ia-writer &>/dev/null; then
|
||||
yay -S --noconfirm ttf-ia-writer
|
||||
rm -rf ~/.local/share/fonts/iAWriterMonoS*
|
||||
fc-cache
|
||||
fi
|
||||
if ! pacman -Q ttf-ia-writer &>/dev/null; then
|
||||
sudo pacman -S --noconfirm ttf-ia-writer
|
||||
rm -rf ~/.local/share/fonts/iAWriterMonoS*
|
||||
fc-cache
|
||||
fi
|
||||
|
||||
@@ -1,13 +1,9 @@
|
||||
echo "Ensure TTE and dependencies are installed"
|
||||
|
||||
if omarchy-pkg-aur-accessible; then
|
||||
if ! yay -Q python-poetry-core &>/dev/null; then
|
||||
yay -S --noconfirm python-poetry-core
|
||||
fi
|
||||
|
||||
if ! yay -Q python-terminaltexteffects &>/dev/null; then
|
||||
yay -S --noconfirm python-terminaltexteffects
|
||||
fi
|
||||
else
|
||||
echo -e "\n\e[31mAUR is unavailable. Skipping installation. Please try manually later.\e[0m"
|
||||
if ! pacman -Q python-poetry-core &>/dev/null; then
|
||||
sudo pacman -S --noconfirm python-poetry-core
|
||||
fi
|
||||
|
||||
if ! pacman -Q python-terminaltexteffects &>/dev/null; then
|
||||
sudo pacman -S --noconfirm python-terminaltexteffects
|
||||
fi
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
echo "Migrate AUR packages to official repos where possible"
|
||||
|
||||
reinstall_package_opr() {
|
||||
if pacman -Q $1 >/dev/null; then
|
||||
sudo pacman -Rns --noconfirm $1
|
||||
sudo pacman -S --noconfirm $1
|
||||
fi
|
||||
}
|
||||
|
||||
if command -v obsidian >/dev/null; then
|
||||
sudo pacman -Rns --noconfirm obsidian-bin
|
||||
sudo pacman -S --noconfirm obsidian
|
||||
@@ -15,7 +22,9 @@ if pacman -Q omarchy-chromium-bin >/dev/null; then
|
||||
sudo pacman -S --noconfirm omarchy-chromium
|
||||
fi
|
||||
|
||||
if pacman -Q walker-bin >/dev/null; then
|
||||
sudo pacman -Rns --noconfirm walker-bin
|
||||
sudo pacman -S --noconfirm walker-bin
|
||||
fi
|
||||
reinstall_package_opr walker-bin
|
||||
reinstall_package_opr wl-screenrec
|
||||
reinstall_package_opr python-terminaltexteffects
|
||||
reinstall_package_opr tzupdate
|
||||
reinstall_package_opr typora
|
||||
reinstall_package_opr ttf-ia-writer
|
||||
|
||||
Reference in New Issue
Block a user