diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-17 13:04:35 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-17 13:04:35 +1000 |
| commit | 2a6cc10cfa4f96e079d2205b1d76ecf7d3ec2279 (patch) | |
| tree | ab71c57190e93c86e5928121e823cf402870f0bb | |
| parent | feat: configurable weather location (diff) | |
| download | caelestia-shell-2a6cc10cfa4f96e079d2205b1d76ecf7d3ec2279.tar.gz caelestia-shell-2a6cc10cfa4f96e079d2205b1d76ecf7d3ec2279.tar.bz2 caelestia-shell-2a6cc10cfa4f96e079d2205b1d76ecf7d3ec2279.zip | |
launcher: notify on scheme mode change error
| -rw-r--r-- | modules/notifications/Notification.qml | 2 | ||||
| -rw-r--r-- | services/Colours.qml | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/modules/notifications/Notification.qml b/modules/notifications/Notification.qml index ebc5ce6..6550e28 100644 --- a/modules/notifications/Notification.qml +++ b/modules/notifications/Notification.qml @@ -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"; diff --git a/services/Colours.qml b/services/Colours.qml index ea3b02a..724a76e 100644 --- a/services/Colours.qml +++ b/services/Colours.qml @@ -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(); } |