From 97ec8e6b9ac329aa2651192a2141f0c62012d598 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sat, 9 Dec 2023 14:52:39 +0100 Subject: [PATCH] Add uninstall script --- uninstall.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100755 uninstall.sh diff --git a/uninstall.sh b/uninstall.sh new file mode 100755 index 00000000..d902c4fd --- /dev/null +++ b/uninstall.sh @@ -0,0 +1,51 @@ +#!/bin/bash +# jeremystartm's dotfiles "installer" + +# useful function +function unlink() { + if [ -a "${HOME}/${1}" ]; then + echo ":: Unlinking ${1}" + rm -rf "${HOME}/${1}" + fi +} + +# 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" +unlink ".config/copyq" + +# programs +unlink ".config/neofetch" +unlink ".config/btop" +unlink ".local/share/mc" +unlink ".config/mc" +unlink ".config/mpv" + +# 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" +unlink ".icons" +unlink ".local/share/icons" +unlink ".fonts" +unlink ".config/fontconfig" + +# programs +unlink ".config/konsolerc" +unlink ".local/share/konsole" +unlink ".config/dolphinrc" +unlink ".local/share/dolphin"