Update 'manjaro-plasma-wipe.sh'

This commit is contained in:
root 2023-07-26 10:46:36 +02:00
parent 1305d1dfe0
commit e33630d5cc

View file

@ -5,14 +5,13 @@ if [[ $(whoami) == "root" ]] ; then
exit 1
fi
echo #################################################################################
echo
echo "[!!!] This script will wipe ALL your Plasma settings [!!!]"
echo "You cannot undo this action without having a backups..."
echo
echo ##################################################################################
echo !----------------------------------------------------------------!
echo "This script will wipe ALL your Plasma settings"
echo "You cannot undo without having a backup..."
echo !----------------------------------------------------------------!
read -p "Press ENTER to wipe all of KDE's settings (Ctrl+c to cancel)"
read -p "Press ENTER to wipe Plasma settings (Ctrl+c to cancel)"
cd ~/
rm -rf .kde
@ -20,21 +19,20 @@ cd ~/.cache
rm -rf plasmashell* org.kde.dirmodel-qml.kcache kioexec krunner ksycoca5* krunnerbookmarkrunnerfirefoxdbfile.sqlite
cd ~/.local
rm -rf kate/ kded5/ klipper/ knewstuff3/ kscreen/ konsole/ kwalletd/ ksysguard/ kmail2/ kcookiejar/ kactivitymanagerd/
cd cd ~/.local/share
cd ~/.local/share
rm -rf dolphin kate kcookiejar kded5 keyrings klipper kmail2 knewstuff3 konsole kscreen ksysguard kwalletd kxmlgui5 plasma_engine_comic plasma plasma_notes org.kde.gwenview
cd ~/.config
rm -f plasma*
rm -rf kde* akonadi* KDE kconf_updaterc baloo* dolphinrc drkonqirc gwenviewrc kmail2rc k*rc katemetainfos plasma-workspace
echo "Done!"
echo ##################################################################################
echo
echo "Restoring Manjaro Default User Settings"
echo
echo ##################################################################################
echo !----------------------------------------------------------------!
echo "Restore Manjaro Default User Settings"
echo !----------------------------------------------------------------!
read -p "Press ENTER to restore Manjaro Default User Settings (Ctrl+c to cancel)"
read -p "Press ENTER to restore Manjaro Default (Ctrl+c to cancel)"
cp -R /etc/skel/.* $HOME
cp /etc/skel/.* $HOME -r
echo "Done!"
secs=$((5))
while [ $secs -gt 0 ]; do