punktdateien/uninstall.sh

82 lines
1.8 KiB
Bash
Raw Normal View History

2023-12-09 14:52:39 +01:00
#!/bin/bash
# jeremystartm's dotfiles "installer"
# useful function
function unlink() {
if [ -a "${HOME}/${1}" ]; then
echo ":: Unlinking ${1}"
rm -rf "${HOME}/${1}"
fi
}
2023-12-09 14:53:41 +01:00
# repositories
[[ -n "$REMOVE_REPOSITORIES" ]] && rm -rf "jstmbash" "dracula-mc"
2023-12-09 14:53:41 +01:00
2023-12-09 15:47:41 +01:00
# install bit
[[ -n "$REMOVE_INSTALLBIT" ]] && rm -rf "$HOME/.config/.jstm_dotfiles"
2023-12-09 14:52:39 +01:00
# jobrunner
unlink ".local/bin/jobrunner"
unlink ".local/bin/jobrunner-runjob"
# bash configuration
unlink ".jstmbash"
unlink ".config/jstmbash.env"
unlink ".config/starship.toml"
unlink ".bashrc"
# wm/compositor
unlink ".config/hypr"
unlink ".config/waybar"
unlink ".config/fnott"
unlink ".config/eww"
# programs
unlink ".config/neofetch"
unlink ".config/btop"
unlink ".local/share/mc"
unlink ".config/mc"
unlink ".config/mpv"
2024-02-14 21:04:26 +01:00
unlink ".config/GIMP/2.10/splashes"
unlink ".config/gitui"
2023-12-09 14:52:39 +01:00
# theming
unlink ".local/share/mc/skins/dracula.ini"
unlink ".local/share/mc/skins/dracula256.ini"
unlink ".config/nwg-look"
unlink ".config/qt5ct"
unlink ".config/qt6ct"
2024-02-14 21:04:26 +01:00
unlink ".config/Kvantum"
2023-12-09 14:52:39 +01:00
unlink ".icons"
unlink ".local/share/icons"
unlink ".fonts"
unlink ".config/fontconfig"
2024-03-30 02:23:32 +01:00
unlink ".local/share/wallpapers"
2023-12-09 14:52:39 +01:00
2024-02-14 21:14:16 +01:00
# kde
unlink ".local/share/plasma"
unlink ".config/kdedefaults"
unlink ".local/share/color-schemes"
unlink ".local/share/aurorae"
2024-02-14 21:14:16 +01:00
unlink ".config/kglobalshortcutsrc"
unlink ".config/kiorc"
unlink ".config/krunnerrc"
unlink ".config/kservicemenurc"
unlink ".config/ksplashrc"
unlink ".config/ktimezonedrc"
unlink ".config/plasma-localrc"
unlink ".config/plasma-org.kde.plasma.desktop-appletsrc"
2023-12-09 14:52:39 +01:00
# programs
unlink ".config/konsolerc"
unlink ".local/share/konsole"
unlink ".config/dolphinrc"
2023-12-13 19:32:24 +01:00
# punktdateien scripts
unlink ".local/bin/dotfiles-updatechecker"
2023-12-13 20:03:46 +01:00
unlink ".local/bin/dotfiles-updater"
unlink ".local/bin/dotfiles-install-software"
2024-06-02 17:15:51 +02:00
# legacy
unlink ".config/copyq"