From e5837c3409105cd4e6e2400fed221c7510e53660 Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Wed, 14 Jun 2023 16:18:24 -0400 Subject: [PATCH] Add junk file removal step --- opensuse-personalizer.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/opensuse-personalizer.sh b/opensuse-personalizer.sh index e815be2..c27fbbc 100755 --- a/opensuse-personalizer.sh +++ b/opensuse-personalizer.sh @@ -82,6 +82,17 @@ GNOME_EXTENSIONS=( places-menu@gnome-shell-extensions.gcampax.github.com ) +######################################## +# Junk files + +JUNK_FILES=( + .inputrc + .i18n + .bashrc + .xim-template + bin/ +) + ######################################## # URLs @@ -509,6 +520,18 @@ for EXTENSION in "${GNOME_EXTENSIONS[@]}"; do busctl --user call org.gnome.Shell.Extensions /org/gnome/Shell/Extensions org.gnome.Shell.Extensions InstallRemoteExtension s ${EXTENSION} done +################################################################################ +# +# Junk file removal +# +################################################################################ + +echo "Removing junk files..." + +for JUNK_FILE in "${JUNK_FILES[@]}"; do + rm -r "${HOME}/${JUNK_FILE}" +done + ################################################################################ # # Personal configuration files and scripts