launcher: notify on scheme mode change error

This commit is contained in:
2 * r + 2 * t 2025-06-17 13:04:35 +10:00
parent 4fe6ff22f6
commit 2a6cc10cfa
2 changed files with 3 additions and 1 deletions

View file

@ -199,6 +199,8 @@ StyledRect {
return "update";
if (summary.startsWith("file"))
return "folder_copy";
if (summary.startsWith("unable to"))
return "deployed_code_alert";
if (root.modelData.urgency === NotificationUrgency.Critical)
return "release_alert";
return "chat";

View file

@ -53,7 +53,7 @@ Singleton {
}
function setMode(mode: string): void {
setModeProc.command = ["caelestia", "scheme", "-m", mode];
setModeProc.command = ["caelestia", "scheme", "set", "--notify", "-m", mode];
setModeProc.startDetached();
}