From 202d98f95044721916a853f9cdb5ef2fcf4133ac Mon Sep 17 00:00:00 2001 From: Prayag Jain Date: Sun, 11 Apr 2021 19:58:17 +0530 Subject: [PATCH 1/3] bug fix --- konsave/funcs.py | 7 ------- 1 file changed, 7 deletions(-) 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!" From 1c04bf13d4c54a8434c20ab563f28d972c3eb34a Mon Sep 17 00:00:00 2001 From: Prayag Jain Date: Sun, 11 Apr 2021 20:01:39 +0530 Subject: [PATCH 2/3] Updated changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) 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. From 1bcf81668009435ef9a2300bdbe259969bbce679 Mon Sep 17 00:00:00 2001 From: Prayag Jain Date: Sun, 11 Apr 2021 20:02:04 +0530 Subject: [PATCH 3/3] Fixed a typo in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`