mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Switch to pacman to make it clear when we are not depending on AUR
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -z "$OMARCHY_BARE" ]; then
|
||||
yay -S --noconfirm --needed \
|
||||
sudo pacman -S --noconfirm --needed \
|
||||
gnome-calculator gnome-keyring signal-desktop \
|
||||
obsidian libreoffice obs-studio kdenlive \
|
||||
xournalpp localsend
|
||||
|
||||
# Packages known to be flaky or having key signing issues are run one-by-one
|
||||
for pkg in spotify pinta; do
|
||||
yay -S --noconfirm --needed "$pkg" ||
|
||||
sudo pacman -S --noconfirm --needed "$pkg" ||
|
||||
echo -e "\e[31mFailed to install $pkg. Continuing without!\e[0m"
|
||||
done
|
||||
fi
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Install iwd explicitly if it wasn't included in archinstall
|
||||
# This can happen if archinstall used ethernet
|
||||
if ! command -v iwctl &>/dev/null; then
|
||||
yay -S --noconfirm --needed iwd
|
||||
sudo pacman -S --noconfirm --needed iwd
|
||||
chrootable_systemctl_enable iwd.service
|
||||
fi
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ if [ -n "$(lspci | grep -i 'nvidia')" ]; then
|
||||
"qt6-wayland"
|
||||
)
|
||||
|
||||
yay -S --needed --noconfirm "${PACKAGES_TO_INSTALL[@]}"
|
||||
sudo pacman -S --needed --noconfirm "${PACKAGES_TO_INSTALL[@]}"
|
||||
|
||||
# Configure modprobe for early KMS
|
||||
echo "options nvidia_drm modeset=1" | sudo tee /etc/modprobe.d/nvidia.conf >/dev/null
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
# Setting the performance profile can make a big difference. By default, most systems seem to start in balanced mode,
|
||||
# even if they're not running off a battery. So let's make sure that's changed to performance.
|
||||
yay -S --noconfirm python-gobject power-profiles-daemon
|
||||
sudo pacman -S --noconfirm python-gobject power-profiles-daemon
|
||||
|
||||
# FIXME: Can't set powerprofilesctl during CHROOT, must do it afterwards
|
||||
if [ -z "${OMARCHY_CHROOT_INSTALL:-}" ]; then
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Install bluetooth controls
|
||||
yay -S --noconfirm --needed blueberry
|
||||
sudo pacman -S --noconfirm --needed blueberry
|
||||
|
||||
# Turn on bluetooth by default
|
||||
chrootable_systemctl_enable bluetooth.service
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
yay -S --noconfirm --needed \
|
||||
sudo pacman -S --noconfirm --needed \
|
||||
hyprland hyprshot hyprpicker hyprlock hypridle hyprsunset polkit-gnome hyprland-qtutils \
|
||||
walker-bin libqalculate waybar mako swaybg swayosd \
|
||||
xdg-desktop-portal-hyprland xdg-desktop-portal-gtk
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Use dark mode for QT apps too (like kdenlive)
|
||||
if ! yay -Q kvantum-qt5 &>/dev/null; then
|
||||
yay -S --noconfirm kvantum-qt5
|
||||
if ! pacman -Q kvantum-qt5 &>/dev/null; then
|
||||
sudo pacman -S --noconfirm kvantum-qt5
|
||||
fi
|
||||
|
||||
# Prefer dark mode everything
|
||||
if ! yay -Q gnome-themes-extra &>/dev/null; then
|
||||
yay -S --noconfirm gnome-themes-extra # Adds Adwaita-dark theme
|
||||
if ! pacman -Q gnome-themes-extra &>/dev/null; then
|
||||
sudo pacman -S --noconfirm gnome-themes-extra # Adds Adwaita-dark theme
|
||||
fi
|
||||
|
||||
# Allow icons to match the theme
|
||||
if ! yay -! yaru-icon-theme &>/dev/null; then
|
||||
yay -S --noconfirm yaru-icon-theme
|
||||
sudo pacman -S --noconfirm yaru-icon-theme
|
||||
fi
|
||||
|
||||
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
yay -S --noconfirm --needed \
|
||||
sudo pacman -S --noconfirm --needed \
|
||||
cargo clang llvm mise \
|
||||
imagemagick \
|
||||
mariadb-libs postgresql-libs \
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
yay -S --noconfirm --needed docker docker-compose docker-buildx
|
||||
sudo pacman -S --noconfirm --needed docker docker-compose docker-buildx
|
||||
|
||||
# Configure Docker daemon:
|
||||
# - limit log size to avoid running out of disk
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
if ! command -v nvim &>/dev/null || [ ! -d "$HOME/.config/nvim" ]; then
|
||||
yay -S --noconfirm --needed nvim luarocks tree-sitter-cli
|
||||
sudo pacman -S --noconfirm --needed nvim luarocks tree-sitter-cli
|
||||
|
||||
# Install LazyVim
|
||||
rm -rf ~/.config/nvim
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Install Ruby using gcc-14 for compatibility
|
||||
yay -S --noconfirm --needed gcc14
|
||||
sudo pacman -S --noconfirm --needed gcc14
|
||||
mise settings set ruby.ruby_build_opts "CC=gcc-14 CXX=g++-14"
|
||||
|
||||
# Trust .ruby-version
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
yay -S --noconfirm --needed \
|
||||
sudo pacman -S --noconfirm --needed \
|
||||
unzip inetutils impala \
|
||||
fd eza fzf ripgrep zoxide bat dust jq xmlstarlet \
|
||||
wl-clipboard fastfetch btop \
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
# Hyprland launched via UWSM and login directly as user, rely on disk encryption + hyprlock for security
|
||||
if ! command -v uwsm &>/dev/null || ! command -v plymouth &>/dev/null; then
|
||||
yay -S --noconfirm --needed plymouth uwsm
|
||||
sudo pacman -S --noconfirm --needed plymouth uwsm
|
||||
fi
|
||||
|
||||
# ==============================================================================
|
||||
|
||||
Reference in New Issue
Block a user