diff --git a/CHANGELOG.md b/CHANGELOG.md index fb4d1f4..f1d1c4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.1] - 2021-04-11 +### Removed +- KDE Plasma won't be restarted after applying a new configuration now. You'll have to restart it yourself. This was done because using Konsave on other DEs would give an error. + ## [2.0.0] - 2021-04-11 ### Added - Possibility to define multiple backup targets via the configuration file. diff --git a/README.md b/README.md index 70ae85b..fdcc20b 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Install from PyPI You may need to log out and log in to see all the changes. ### Export a profile as a ".knsv" file to share it with your friends! `konsave -e ` or `konsave --export-profile ` -### Import a ".knsv file +### Import a ".knsv" file `konsave -i ` or `konsave --import-profile ` ### Show current version `konsave -v` or `konsave --version` diff --git a/konsave/funcs.py b/konsave/funcs.py index 4ed7bc4..4aaaef9 100644 --- a/konsave/funcs.py +++ b/konsave/funcs.py @@ -82,12 +82,6 @@ def log(msg, *args, **kwargs): print(f"Konsave: {msg.capitalize()}", *args, **kwargs) -def restart_kde(): - """Replaces plasmashell.""" - log("restarting kde...") - os.system("plasmashell --replace > /dev/null 2>&1 & disown") - - @exception_handler def copy(source, dest): """ @@ -222,7 +216,6 @@ def apply_profile(profile_id, profile_list, profile_count): location = os.path.join(profile_dir, name) copy(location, profile_config[name]["location"]) - restart_kde() log( "Profile applied successfully! Please log-out and log-in to see the changes completely!"