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"