This commit is contained in:
Stephan Raabe 2023-12-25 15:06:09 +01:00
parent b63ccc88a3
commit 57c7c377f6

View File

@ -1,11 +1,14 @@
# ------------------------------------------------------ # ------------------------------------------------------
# Install tty login and issue # Install tty login and issue
# ------------------------------------------------------ # ------------------------------------------------------
echo -e "${GREEN}"
figlet "Cleanup"
echo -e "${NONE}"
# Check for ttf-ms-fonts # Check for ttf-ms-fonts
if [[ $(_isInstalledPacman "ttf-ms-fonts") == 0 ]]; then if [[ $(_isInstalledPacman "ttf-ms-fonts") == 0 ]]; then
echo "The script has detected ttf-ms-fonts. This can cause conflicts with icons in Waybar." echo "The script has detected ttf-ms-fonts. This can cause conflicts with icons in Waybar."
if gum confirm "Do you want to uninstall ttf-ms-fonts?" ;then if gum confirm "Do you want to uninstall ttf-ms-fonts?" ;then
sudo pacman --noconfirm -R ttf-ms-fonts sudo pacman --noconfirm -R ttf-ms-fonts
fi fi
fi fi
echo "Cleanup done."