Switch to pacman to make it clear when we are not depending on AUR
This commit is contained in:
parent
69afedf380
commit
9d739faf2b
@ -5,5 +5,5 @@ sudo sed -i '/^\s*#\[multilib\]/,/^$/{s/^\s*#//}' /etc/pacman.conf
|
||||
sudo pacman -Sy
|
||||
|
||||
echo "Now pick dependencies matching your graphics card"
|
||||
yay -S steam
|
||||
sudo pacman -S steam
|
||||
setsid gtk-launch steam >/dev/null 2>&1 &
|
||||
|
@ -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
|
||||
|
||||
# ==============================================================================
|
||||
|
@ -1,5 +1,5 @@
|
||||
echo "Add missing installation of bat (used by the ff alias)"
|
||||
if ! command -v bat &>/dev/null; then
|
||||
# Add missing installation of bat
|
||||
yay -S --noconfirm --needed bat
|
||||
sudo pacman -S --noconfirm --needed bat
|
||||
fi
|
||||
|
@ -1,5 +1,5 @@
|
||||
echo "Installing missing fd terminal tool for finding files"
|
||||
|
||||
if ! command -v fd &>/dev/null; then
|
||||
yay -S --noconfirm --needed fd
|
||||
sudo pacman -S --noconfirm --needed fd
|
||||
fi
|
||||
|
@ -2,7 +2,7 @@ echo "Switching from vlc to mpv for the default video player"
|
||||
if ! command -v mpv &>/dev/null; then
|
||||
yay -Rns --noconfirm vlc
|
||||
rm ~/.local/share/applications/vlc.desktop
|
||||
yay -S --noconfirm mpv
|
||||
sudo pacman -S --noconfirm mpv
|
||||
xdg-mime default mpv.desktop video/mp4
|
||||
xdg-mime default mpv.desktop video/x-msvideo
|
||||
xdg-mime default mpv.desktop video/x-matroska
|
||||
|
@ -1,5 +1,5 @@
|
||||
echo "Install ffmpegthumbnailer for video thumbnails in the file manager"
|
||||
|
||||
if ! command -v ffmpegthumbnailer &>/dev/null; then
|
||||
yay -S --noconfirm --needed ffmpegthumbnailer
|
||||
sudo pacman -S --noconfirm --needed ffmpegthumbnailer
|
||||
fi
|
||||
|
@ -1,5 +1,5 @@
|
||||
echo "Install bash-completion"
|
||||
|
||||
if ! pacman -Q bash-completion &>/dev/null; then
|
||||
yay -S --noconfirm --needed bash-completion
|
||||
sudo pacman -S --noconfirm --needed bash-completion
|
||||
fi
|
||||
|
@ -1,6 +1,6 @@
|
||||
echo "Install Impala as new wifi selection TUI"
|
||||
if ! command -v impala &>/dev/null; then
|
||||
yay -S --noconfirm --needed impala
|
||||
sudo pacman -S --noconfirm --needed impala
|
||||
echo "You need to update the Waybar config to use Impala Wi-Fi selector in top bar."
|
||||
omarchy-refresh-waybar
|
||||
fi
|
||||
|
@ -1,5 +1,5 @@
|
||||
echo "Adding gnome-keyring to make 1password work with 2FA codes"
|
||||
|
||||
if ! command -v gnome-keyring &>/dev/null; then
|
||||
yay -S --noconfirm --needed gnome-keyring
|
||||
sudo pacman -S --noconfirm --needed gnome-keyring
|
||||
fi
|
||||
|
@ -1,6 +1,6 @@
|
||||
echo "Switching to polkit-gnome for better fingerprint authentication compatibility"
|
||||
if ! command -v /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &>/dev/null; then
|
||||
yay -S --noconfirm --needed polkit-gnome
|
||||
sudo pacman -S --noconfirm --needed polkit-gnome
|
||||
systemctl --user stop hyprpolkitagent
|
||||
systemctl --user disable hyprpolkitagent
|
||||
yay -Rns --noconfirm hyprpolkitagent
|
||||
|
@ -1,5 +1,5 @@
|
||||
echo "Install missing docker-buildx package for out-of-the-box Kamal compatibility"
|
||||
|
||||
if ! docker buildx version &>/dev/null; then
|
||||
yay -S --noconfirm --needed docker-buildx
|
||||
sudo pacman -S --noconfirm --needed docker-buildx
|
||||
fi
|
||||
|
@ -1,7 +1,7 @@
|
||||
echo "Replace volume control GUI with a TUI"
|
||||
|
||||
if ! command -v wiremix &>/dev/null; then
|
||||
yay -S --noconfirm --needed wiremix
|
||||
sudo pacman -S --noconfirm --needed wiremix
|
||||
yay -Rns --noconfirm pavucontrol
|
||||
|
||||
omarchy-refresh-applications
|
||||
|
@ -1,4 +1,4 @@
|
||||
echo "Remove needless fcitx5-configtool package"
|
||||
if yay -Qe fcitx5-configtool &>/dev/null; then
|
||||
if pacman -Qe fcitx5-configtool &>/dev/null; then
|
||||
yay -Rns --noconfirm fcitx5-configtool
|
||||
fi
|
||||
|
@ -1,5 +1,5 @@
|
||||
echo "Install satty for the new screenshot flow"
|
||||
|
||||
if ! command -v satty &>/dev/null; then
|
||||
yay -S --noconfirm --needed satty
|
||||
sudo pacman -S --noconfirm --needed satty
|
||||
fi
|
||||
|
@ -1,6 +1,6 @@
|
||||
echo "Install swayOSD to show volume status"
|
||||
|
||||
if ! command -v swayosd-server &>/dev/null; then
|
||||
yay -S --noconfirm --needed swayosd
|
||||
sudo pacman -S --noconfirm --needed swayosd
|
||||
setsid uwsm app -- swayosd-server &>/dev/null &
|
||||
fi
|
||||
|
@ -2,7 +2,7 @@ echo "Install wf-recorder for screen recording for nvidia"
|
||||
|
||||
if lspci | grep -qi 'nvidia'; then
|
||||
if ! command -v wf-recorder &>/dev/null; then
|
||||
yay -S --noconfirm --needed wf-recorder
|
||||
sudo pacman -S --noconfirm --needed wf-recorder
|
||||
fi
|
||||
|
||||
if command -v wl-screenrec &>/dev/null; then
|
||||
|
@ -1,7 +1,7 @@
|
||||
echo "Add icon theme coloring"
|
||||
|
||||
if ! yay -! yaru-icon-theme &>/dev/null; then
|
||||
yay -S --noconfirm yaru-icon-theme
|
||||
sudo pacman -S --noconfirm yaru-icon-theme
|
||||
|
||||
if [[ -f ~/.config/omarchy/current/theme/icons.theme ]]; then
|
||||
gsettings set org.gnome.desktop.interface icon-theme "$(<~/.config/omarchy/current/theme/icons.theme)"
|
||||
|
@ -1,6 +1,6 @@
|
||||
echo "Add hyprsunset blue light filter"
|
||||
if ! command -v hyprsunset &>/dev/null; then
|
||||
yay -S --noconfirm --needed hyprsunset
|
||||
sudo pacman -S --noconfirm --needed hyprsunset
|
||||
fi
|
||||
|
||||
omarchy-refresh-hyprsunset
|
||||
|
@ -1,2 +1,2 @@
|
||||
echo "Add support for accessing Android phone data via file manager"
|
||||
yay -S --noconfirm --needed gvfs-mtp
|
||||
sudo pacman -S --noconfirm --needed gvfs-mtp
|
||||
|
@ -1,3 +1,3 @@
|
||||
echo "Add xmlstarlet needed for updating fonts via Omarchy menu"
|
||||
|
||||
yay -Sy --noconfirm --needed xmlstarlet
|
||||
sudo pacman -Sy --noconfirm --needed xmlstarlet
|
||||
|
@ -1,6 +1,6 @@
|
||||
echo "Add minimal starship prompt to terminal"
|
||||
|
||||
if ! command -v starship &>/dev/null; then
|
||||
yay -S --noconfirm starship
|
||||
sudo pacman -S --noconfirm starship
|
||||
cp $OMARCHY_PATH/config/starship.toml ~/.config/starship.toml
|
||||
fi
|
||||
|
@ -1,5 +1,5 @@
|
||||
echo "Add potentially missing dependency for power profile controls"
|
||||
|
||||
if ! yay -Q python-gobject &>/dev/null; then
|
||||
yay -S --noconfirm python-gobject
|
||||
if ! pacman -Q python-gobject &>/dev/null; then
|
||||
sudo pacman -S --noconfirm python-gobject
|
||||
fi
|
||||
|
@ -1,5 +1,5 @@
|
||||
echo "Install wf-recorder for intel based device"
|
||||
|
||||
if lspci | grep -Eqi 'nvidia|intel.*graphics'; then
|
||||
yay -S --noconfirm --needed wf-recorder
|
||||
sudo pacman -S --noconfirm --needed wf-recorder
|
||||
fi
|
||||
|
@ -1,3 +1,3 @@
|
||||
echo "Ensure latest uwsm is installed"
|
||||
|
||||
yay -Sy --noconfirm uwsm
|
||||
sudo pacman -Sy --noconfirm uwsm
|
||||
|
Loading…
x
Reference in New Issue
Block a user