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
|
sudo pacman -Sy
|
||||||
|
|
||||||
echo "Now pick dependencies matching your graphics card"
|
echo "Now pick dependencies matching your graphics card"
|
||||||
yay -S steam
|
sudo pacman -S steam
|
||||||
setsid gtk-launch steam >/dev/null 2>&1 &
|
setsid gtk-launch steam >/dev/null 2>&1 &
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -z "$OMARCHY_BARE" ]; then
|
if [ -z "$OMARCHY_BARE" ]; then
|
||||||
yay -S --noconfirm --needed \
|
sudo pacman -S --noconfirm --needed \
|
||||||
gnome-calculator gnome-keyring signal-desktop \
|
gnome-calculator gnome-keyring signal-desktop \
|
||||||
obsidian libreoffice obs-studio kdenlive \
|
obsidian libreoffice obs-studio kdenlive \
|
||||||
xournalpp localsend
|
xournalpp localsend
|
||||||
|
|
||||||
# Packages known to be flaky or having key signing issues are run one-by-one
|
# Packages known to be flaky or having key signing issues are run one-by-one
|
||||||
for pkg in spotify pinta; do
|
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"
|
echo -e "\e[31mFailed to install $pkg. Continuing without!\e[0m"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# Install iwd explicitly if it wasn't included in archinstall
|
# Install iwd explicitly if it wasn't included in archinstall
|
||||||
# This can happen if archinstall used ethernet
|
# This can happen if archinstall used ethernet
|
||||||
if ! command -v iwctl &>/dev/null; then
|
if ! command -v iwctl &>/dev/null; then
|
||||||
yay -S --noconfirm --needed iwd
|
sudo pacman -S --noconfirm --needed iwd
|
||||||
chrootable_systemctl_enable iwd.service
|
chrootable_systemctl_enable iwd.service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ if [ -n "$(lspci | grep -i 'nvidia')" ]; then
|
|||||||
"qt6-wayland"
|
"qt6-wayland"
|
||||||
)
|
)
|
||||||
|
|
||||||
yay -S --needed --noconfirm "${PACKAGES_TO_INSTALL[@]}"
|
sudo pacman -S --needed --noconfirm "${PACKAGES_TO_INSTALL[@]}"
|
||||||
|
|
||||||
# Configure modprobe for early KMS
|
# Configure modprobe for early KMS
|
||||||
echo "options nvidia_drm modeset=1" | sudo tee /etc/modprobe.d/nvidia.conf >/dev/null
|
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,
|
# 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.
|
# 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
|
# FIXME: Can't set powerprofilesctl during CHROOT, must do it afterwards
|
||||||
if [ -z "${OMARCHY_CHROOT_INSTALL:-}" ]; then
|
if [ -z "${OMARCHY_CHROOT_INSTALL:-}" ]; then
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Install bluetooth controls
|
# Install bluetooth controls
|
||||||
yay -S --noconfirm --needed blueberry
|
sudo pacman -S --noconfirm --needed blueberry
|
||||||
|
|
||||||
# Turn on bluetooth by default
|
# Turn on bluetooth by default
|
||||||
chrootable_systemctl_enable bluetooth.service
|
chrootable_systemctl_enable bluetooth.service
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
yay -S --noconfirm --needed \
|
sudo pacman -S --noconfirm --needed \
|
||||||
hyprland hyprshot hyprpicker hyprlock hypridle hyprsunset polkit-gnome hyprland-qtutils \
|
hyprland hyprshot hyprpicker hyprlock hypridle hyprsunset polkit-gnome hyprland-qtutils \
|
||||||
walker-bin libqalculate waybar mako swaybg swayosd \
|
walker-bin libqalculate waybar mako swaybg swayosd \
|
||||||
xdg-desktop-portal-hyprland xdg-desktop-portal-gtk
|
xdg-desktop-portal-hyprland xdg-desktop-portal-gtk
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Use dark mode for QT apps too (like kdenlive)
|
# Use dark mode for QT apps too (like kdenlive)
|
||||||
if ! yay -Q kvantum-qt5 &>/dev/null; then
|
if ! pacman -Q kvantum-qt5 &>/dev/null; then
|
||||||
yay -S --noconfirm kvantum-qt5
|
sudo pacman -S --noconfirm kvantum-qt5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Prefer dark mode everything
|
# Prefer dark mode everything
|
||||||
if ! yay -Q gnome-themes-extra &>/dev/null; then
|
if ! pacman -Q gnome-themes-extra &>/dev/null; then
|
||||||
yay -S --noconfirm gnome-themes-extra # Adds Adwaita-dark theme
|
sudo pacman -S --noconfirm gnome-themes-extra # Adds Adwaita-dark theme
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Allow icons to match the theme
|
# Allow icons to match the theme
|
||||||
if ! yay -! yaru-icon-theme &>/dev/null; then
|
if ! yay -! yaru-icon-theme &>/dev/null; then
|
||||||
yay -S --noconfirm yaru-icon-theme
|
sudo pacman -S --noconfirm yaru-icon-theme
|
||||||
fi
|
fi
|
||||||
|
|
||||||
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
|
gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
yay -S --noconfirm --needed \
|
sudo pacman -S --noconfirm --needed \
|
||||||
cargo clang llvm mise \
|
cargo clang llvm mise \
|
||||||
imagemagick \
|
imagemagick \
|
||||||
mariadb-libs postgresql-libs \
|
mariadb-libs postgresql-libs \
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
yay -S --noconfirm --needed docker docker-compose docker-buildx
|
sudo pacman -S --noconfirm --needed docker docker-compose docker-buildx
|
||||||
|
|
||||||
# Configure Docker daemon:
|
# Configure Docker daemon:
|
||||||
# - limit log size to avoid running out of disk
|
# - limit log size to avoid running out of disk
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if ! command -v nvim &>/dev/null || [ ! -d "$HOME/.config/nvim" ]; then
|
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
|
# Install LazyVim
|
||||||
rm -rf ~/.config/nvim
|
rm -rf ~/.config/nvim
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Install Ruby using gcc-14 for compatibility
|
# 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"
|
mise settings set ruby.ruby_build_opts "CC=gcc-14 CXX=g++-14"
|
||||||
|
|
||||||
# Trust .ruby-version
|
# Trust .ruby-version
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
yay -S --noconfirm --needed \
|
sudo pacman -S --noconfirm --needed \
|
||||||
unzip inetutils impala \
|
unzip inetutils impala \
|
||||||
fd eza fzf ripgrep zoxide bat dust jq xmlstarlet \
|
fd eza fzf ripgrep zoxide bat dust jq xmlstarlet \
|
||||||
wl-clipboard fastfetch btop \
|
wl-clipboard fastfetch btop \
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Hyprland launched via UWSM and login directly as user, rely on disk encryption + hyprlock for security
|
# 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
|
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
|
fi
|
||||||
|
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
echo "Add missing installation of bat (used by the ff alias)"
|
echo "Add missing installation of bat (used by the ff alias)"
|
||||||
if ! command -v bat &>/dev/null; then
|
if ! command -v bat &>/dev/null; then
|
||||||
# Add missing installation of bat
|
# Add missing installation of bat
|
||||||
yay -S --noconfirm --needed bat
|
sudo pacman -S --noconfirm --needed bat
|
||||||
fi
|
fi
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
echo "Installing missing fd terminal tool for finding files"
|
echo "Installing missing fd terminal tool for finding files"
|
||||||
|
|
||||||
if ! command -v fd &>/dev/null; then
|
if ! command -v fd &>/dev/null; then
|
||||||
yay -S --noconfirm --needed fd
|
sudo pacman -S --noconfirm --needed fd
|
||||||
fi
|
fi
|
||||||
|
@ -2,7 +2,7 @@ echo "Switching from vlc to mpv for the default video player"
|
|||||||
if ! command -v mpv &>/dev/null; then
|
if ! command -v mpv &>/dev/null; then
|
||||||
yay -Rns --noconfirm vlc
|
yay -Rns --noconfirm vlc
|
||||||
rm ~/.local/share/applications/vlc.desktop
|
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/mp4
|
||||||
xdg-mime default mpv.desktop video/x-msvideo
|
xdg-mime default mpv.desktop video/x-msvideo
|
||||||
xdg-mime default mpv.desktop video/x-matroska
|
xdg-mime default mpv.desktop video/x-matroska
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
echo "Install ffmpegthumbnailer for video thumbnails in the file manager"
|
echo "Install ffmpegthumbnailer for video thumbnails in the file manager"
|
||||||
|
|
||||||
if ! command -v ffmpegthumbnailer &>/dev/null; then
|
if ! command -v ffmpegthumbnailer &>/dev/null; then
|
||||||
yay -S --noconfirm --needed ffmpegthumbnailer
|
sudo pacman -S --noconfirm --needed ffmpegthumbnailer
|
||||||
fi
|
fi
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
echo "Install bash-completion"
|
echo "Install bash-completion"
|
||||||
|
|
||||||
if ! pacman -Q bash-completion &>/dev/null; then
|
if ! pacman -Q bash-completion &>/dev/null; then
|
||||||
yay -S --noconfirm --needed bash-completion
|
sudo pacman -S --noconfirm --needed bash-completion
|
||||||
fi
|
fi
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
echo "Install Impala as new wifi selection TUI"
|
echo "Install Impala as new wifi selection TUI"
|
||||||
if ! command -v impala &>/dev/null; then
|
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."
|
echo "You need to update the Waybar config to use Impala Wi-Fi selector in top bar."
|
||||||
omarchy-refresh-waybar
|
omarchy-refresh-waybar
|
||||||
fi
|
fi
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
echo "Adding gnome-keyring to make 1password work with 2FA codes"
|
echo "Adding gnome-keyring to make 1password work with 2FA codes"
|
||||||
|
|
||||||
if ! command -v gnome-keyring &>/dev/null; then
|
if ! command -v gnome-keyring &>/dev/null; then
|
||||||
yay -S --noconfirm --needed gnome-keyring
|
sudo pacman -S --noconfirm --needed gnome-keyring
|
||||||
fi
|
fi
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
echo "Switching to polkit-gnome for better fingerprint authentication compatibility"
|
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
|
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 stop hyprpolkitagent
|
||||||
systemctl --user disable hyprpolkitagent
|
systemctl --user disable hyprpolkitagent
|
||||||
yay -Rns --noconfirm hyprpolkitagent
|
yay -Rns --noconfirm hyprpolkitagent
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
echo "Install missing docker-buildx package for out-of-the-box Kamal compatibility"
|
echo "Install missing docker-buildx package for out-of-the-box Kamal compatibility"
|
||||||
|
|
||||||
if ! docker buildx version &>/dev/null; then
|
if ! docker buildx version &>/dev/null; then
|
||||||
yay -S --noconfirm --needed docker-buildx
|
sudo pacman -S --noconfirm --needed docker-buildx
|
||||||
fi
|
fi
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
echo "Replace volume control GUI with a TUI"
|
echo "Replace volume control GUI with a TUI"
|
||||||
|
|
||||||
if ! command -v wiremix &>/dev/null; then
|
if ! command -v wiremix &>/dev/null; then
|
||||||
yay -S --noconfirm --needed wiremix
|
sudo pacman -S --noconfirm --needed wiremix
|
||||||
yay -Rns --noconfirm pavucontrol
|
yay -Rns --noconfirm pavucontrol
|
||||||
|
|
||||||
omarchy-refresh-applications
|
omarchy-refresh-applications
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
echo "Remove needless fcitx5-configtool package"
|
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
|
yay -Rns --noconfirm fcitx5-configtool
|
||||||
fi
|
fi
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
echo "Install satty for the new screenshot flow"
|
echo "Install satty for the new screenshot flow"
|
||||||
|
|
||||||
if ! command -v satty &>/dev/null; then
|
if ! command -v satty &>/dev/null; then
|
||||||
yay -S --noconfirm --needed satty
|
sudo pacman -S --noconfirm --needed satty
|
||||||
fi
|
fi
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
echo "Install swayOSD to show volume status"
|
echo "Install swayOSD to show volume status"
|
||||||
|
|
||||||
if ! command -v swayosd-server &>/dev/null; then
|
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 &
|
setsid uwsm app -- swayosd-server &>/dev/null &
|
||||||
fi
|
fi
|
||||||
|
@ -2,7 +2,7 @@ echo "Install wf-recorder for screen recording for nvidia"
|
|||||||
|
|
||||||
if lspci | grep -qi 'nvidia'; then
|
if lspci | grep -qi 'nvidia'; then
|
||||||
if ! command -v wf-recorder &>/dev/null; then
|
if ! command -v wf-recorder &>/dev/null; then
|
||||||
yay -S --noconfirm --needed wf-recorder
|
sudo pacman -S --noconfirm --needed wf-recorder
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v wl-screenrec &>/dev/null; then
|
if command -v wl-screenrec &>/dev/null; then
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
echo "Add icon theme coloring"
|
echo "Add icon theme coloring"
|
||||||
|
|
||||||
if ! yay -! yaru-icon-theme &>/dev/null; then
|
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
|
if [[ -f ~/.config/omarchy/current/theme/icons.theme ]]; then
|
||||||
gsettings set org.gnome.desktop.interface icon-theme "$(<~/.config/omarchy/current/theme/icons.theme)"
|
gsettings set org.gnome.desktop.interface icon-theme "$(<~/.config/omarchy/current/theme/icons.theme)"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
echo "Add hyprsunset blue light filter"
|
echo "Add hyprsunset blue light filter"
|
||||||
if ! command -v hyprsunset &>/dev/null; then
|
if ! command -v hyprsunset &>/dev/null; then
|
||||||
yay -S --noconfirm --needed hyprsunset
|
sudo pacman -S --noconfirm --needed hyprsunset
|
||||||
fi
|
fi
|
||||||
|
|
||||||
omarchy-refresh-hyprsunset
|
omarchy-refresh-hyprsunset
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
echo "Add support for accessing Android phone data via file manager"
|
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"
|
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"
|
echo "Add minimal starship prompt to terminal"
|
||||||
|
|
||||||
if ! command -v starship &>/dev/null; then
|
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
|
cp $OMARCHY_PATH/config/starship.toml ~/.config/starship.toml
|
||||||
fi
|
fi
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
echo "Add potentially missing dependency for power profile controls"
|
echo "Add potentially missing dependency for power profile controls"
|
||||||
|
|
||||||
if ! yay -Q python-gobject &>/dev/null; then
|
if ! pacman -Q python-gobject &>/dev/null; then
|
||||||
yay -S --noconfirm python-gobject
|
sudo pacman -S --noconfirm python-gobject
|
||||||
fi
|
fi
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
echo "Install wf-recorder for intel based device"
|
echo "Install wf-recorder for intel based device"
|
||||||
|
|
||||||
if lspci | grep -Eqi 'nvidia|intel.*graphics'; then
|
if lspci | grep -Eqi 'nvidia|intel.*graphics'; then
|
||||||
yay -S --noconfirm --needed wf-recorder
|
sudo pacman -S --noconfirm --needed wf-recorder
|
||||||
fi
|
fi
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
echo "Ensure latest uwsm is installed"
|
echo "Ensure latest uwsm is installed"
|
||||||
|
|
||||||
yay -Sy --noconfirm uwsm
|
sudo pacman -Sy --noconfirm uwsm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user