From fb883a772f5b0af9bc0fa1c63e4ecf9a1ab5d580 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sat, 9 Dec 2023 15:10:33 +0100 Subject: [PATCH] Remove dolphin dir, add README, update uninstall --- README.md | 21 +++++++++++++++++++++ dolphin/.gitignore | 4 ---- dolphin/view_properties/global/.directory | 6 ------ install.sh | 1 - uninstall.sh | 3 +-- 5 files changed, 22 insertions(+), 13 deletions(-) create mode 100644 README.md delete mode 100644 dolphin/.gitignore delete mode 100644 dolphin/view_properties/global/.directory diff --git a/README.md b/README.md new file mode 100644 index 00000000..0a6351dd --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# jstm's dotfiles +## Installing +```bash +git clone https://git.staropensource.de/JeremyStarTM/punktdateien.git "$HOME/.dotfiles" +cd "$HOME/.dotfiles" +./install.sh +``` +## Updating +```bash +cd "$HOME/.dotfiles" +./uninstall.sh +git pull +./install.sh +``` +## Uninstalling +```bash +cd "$HOME/.dotfiles" +env REMOVE_REPOSITORIES=true ./uninstall.sh +cd "$HOME" +rm -rf "$HOME/.dotfiles" +``` diff --git a/dolphin/.gitignore b/dolphin/.gitignore deleted file mode 100644 index 1bf79e8a..00000000 --- a/dolphin/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -# Ignore feedback -kuserfeedback -# Ignore state -dolphinstaterc diff --git a/dolphin/view_properties/global/.directory b/dolphin/view_properties/global/.directory deleted file mode 100644 index 2188f3dc..00000000 --- a/dolphin/view_properties/global/.directory +++ /dev/null @@ -1,6 +0,0 @@ -[Dolphin] -Timestamp=2023,11,30,17,50,10.271 -Version=4 - -[Settings] -HiddenFilesShown=true diff --git a/install.sh b/install.sh index 6471ed0c..8ac71138 100755 --- a/install.sh +++ b/install.sh @@ -69,7 +69,6 @@ link "fontconfig" ".config/fontconfig" link "konsolerc" ".config/konsolerc" link "konsole" ".local/share/konsole" link "dolphinrc" ".config/dolphinrc" -link "dolphin" ".local/share/dolphin" # check for executables if ! which qt5ct &> /dev/null; then diff --git a/uninstall.sh b/uninstall.sh index 5606d593..4a21aa30 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -10,7 +10,7 @@ function unlink() { } # repositories -rm -rf "jstmbash" "dracula-mc" +[[ -n "$REMOVE_REPOSITORIES" ]] && rm -rf "jstmbash" "dracula-mc" # jobrunner unlink ".local/bin/jobrunner" @@ -51,4 +51,3 @@ unlink ".config/fontconfig" unlink ".config/konsolerc" unlink ".local/share/konsole" unlink ".config/dolphinrc" -unlink ".local/share/dolphin"