Also on removes
This commit is contained in:
parent
9d739faf2b
commit
673cea1644
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user