launcher: notify on scheme mode change error
This commit is contained in:
parent
4fe6ff22f6
commit
2a6cc10cfa
2 changed files with 3 additions and 1 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue