This commit is contained in:
Stephan Raabe
2024-01-01 11:40:15 +01:00
parent 27ff21fc2b
commit 984c69ea59
24 changed files with 157 additions and 39 deletions
+11
View File
@@ -4,6 +4,7 @@
echo -e "${GREEN}"
figlet "Cleanup"
echo -e "${NONE}"
# Check for ttf-ms-fonts
if [[ $(_isInstalledPacman "ttf-ms-fonts") == 0 ]]; then
echo "The script has detected ttf-ms-fonts. This can cause conflicts with icons in Waybar."
@@ -11,4 +12,14 @@ if [[ $(_isInstalledPacman "ttf-ms-fonts") == 0 ]]; then
sudo pacman --noconfirm -R ttf-ms-fonts
fi
fi
# Check for running NetworkManager.service
# if [[ $(systemctl list-units --all -t service --full --no-legend "NetworkManager.service" | sed 's/^\s*//g' | cut -f1 -d' ') == "NetworkManager.service" ]];then
# echo "NetworkManager.service already running."
# else
# sudo systemctl enable NetworkManager.service
# sudo systemctl start NetworkManager.service
# echo "NetworkManager.service activated successfully."
# fi
echo "Cleanup done."