diff --git a/reload-popup/README.md b/reload-popup/README.md index 2f29168..2630f25 100644 --- a/reload-popup/README.md +++ b/reload-popup/README.md @@ -1,7 +1,6 @@ # Reload Popup -A popup in the corner of the screen that appears when hot reloading the configuration, -which you can easily add to an existing shell. +Replaces the standard quickshell config reload popup. You can try it out by running `quickshell -p shell.qml` which will put a simple bar on the screen. The popup will appear if the file is edited, and display the error diff --git a/reload-popup/ReloadPopup.qml b/reload-popup/ReloadPopup.qml index 36b4a54..7e10e98 100644 --- a/reload-popup/ReloadPopup.qml +++ b/reload-popup/ReloadPopup.qml @@ -12,11 +12,13 @@ Scope { target: Quickshell function onReloadCompleted() { + Quickshell.inhibitReloadPopup(); root.failed = false; popupLoader.loading = true; } function onReloadFailed(error: string) { + Quickshell.inhibitReloadPopup(); // Close any existing popup before making a new one. popupLoader.active = false;