diff --git a/migrations/1751667620.sh b/migrations/1751667620.sh index 46cd9def..a45252e7 100644 --- a/migrations/1751667620.sh +++ b/migrations/1751667620.sh @@ -1,6 +1,6 @@ echo "Switching from vlc to mpv for the default video player" if ! command -v mpv &>/dev/null; then - yay -Rns --noconfirm vlc + sudo pacman -Rns --noconfirm vlc rm ~/.local/share/applications/vlc.desktop sudo pacman -S --noconfirm mpv xdg-mime default mpv.desktop video/mp4 diff --git a/migrations/1752104271.sh b/migrations/1752104271.sh index 5c950d08..a602fe38 100644 --- a/migrations/1752104271.sh +++ b/migrations/1752104271.sh @@ -3,6 +3,6 @@ if ! command -v /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &>/dev sudo pacman -S --noconfirm --needed polkit-gnome systemctl --user stop hyprpolkitagent systemctl --user disable hyprpolkitagent - yay -Rns --noconfirm hyprpolkitagent + sudo pacman -Rns --noconfirm hyprpolkitagent setsid /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & fi diff --git a/migrations/1752896442.sh b/migrations/1752896442.sh index f604d94e..1b154e3c 100644 --- a/migrations/1752896442.sh +++ b/migrations/1752896442.sh @@ -2,7 +2,7 @@ echo "Replace volume control GUI with a TUI" if ! command -v wiremix &>/dev/null; then sudo pacman -S --noconfirm --needed wiremix - yay -Rns --noconfirm pavucontrol + sudo pacman -Rns --noconfirm pavucontrol omarchy-refresh-applications omarchy-refresh-waybar diff --git a/migrations/1752897642.sh b/migrations/1752897642.sh index f9881986..e1f844dd 100644 --- a/migrations/1752897642.sh +++ b/migrations/1752897642.sh @@ -1,4 +1,4 @@ echo "Remove needless fcitx5-configtool package" if pacman -Qe fcitx5-configtool &>/dev/null; then - yay -Rns --noconfirm fcitx5-configtool + sudo pacman -Rns --noconfirm fcitx5-configtool fi diff --git a/migrations/1752981883.sh b/migrations/1752981883.sh index 73ba0417..b8800f5a 100644 --- a/migrations/1752981883.sh +++ b/migrations/1752981883.sh @@ -3,7 +3,7 @@ echo "Replace wofi with walker as the default launcher" if ! command -v walker &>/dev/null; then yay -Sy --noconfirm --needed walker-bin libqalculate - yay -Rns --noconfirm wofi + sudo pacman -Rns --noconfirm wofi rm -rf ~/.config/wofi mkdir -p ~/.config/walker diff --git a/migrations/1755164105.sh b/migrations/1755164105.sh index c1c0d872..a6622ad3 100644 --- a/migrations/1755164105.sh +++ b/migrations/1755164105.sh @@ -10,7 +10,7 @@ set_theme_colors() { } if command -v chromium &>/dev/null; then - yay -Rns --noconfirm chromium || true + sudo pacman -Rns --noconfirm chromium || true yay -Sy --noconfirm omarchy-chromium-bin if pgrep -x chromium; then diff --git a/migrations/1755865046.sh b/migrations/1755865046.sh index 3517bd7c..4a6b8865 100644 --- a/migrations/1755865046.sh +++ b/migrations/1755865046.sh @@ -1,6 +1,6 @@ echo "Switch from lazydocker-bin to lazydocker official" if yay -Q lazydocker-bin >/dev/null; then - yay -Rns --noconfirm lazydocker-bin + sudo pacman -Rns --noconfirm lazydocker-bin yay -S --noconfirm lazydocker fi