diff --git a/package.json b/package.json index fbff2751..d6e32d83 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,9 @@ "prescript-install": "npm run package", "script-install": "bin/install.sh", "script-uninstall": "bin/uninstall.sh", + "preinstall-and-restart-kwin-x11": "npm run script-install", + "install-and-restart-kwin-x11": "kwin_x11 --replace", + "postinstall-and-restart-kwin-x11": "bash -ic \"kwin_x11 --replace & disown\"", "docs": "npx typedoc --out $npm_package_config_build_dir/docs", "test": "mocha 'test/*.spec.js'" }, @@ -89,4 +92,4 @@ "no-cond-assign": "error" } } -} +} \ No newline at end of file