1
0
Fork 0

reload-popup: add inhibitReloadPopup() calls

This commit is contained in:
outfoxxed 2025-05-14 02:55:03 -07:00
parent 69d5b7b480
commit 5734457706
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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;