diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/dashboard/dash/User.qml | 1 | ||||
| -rw-r--r-- | modules/notifications/Notification.qml | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/modules/dashboard/dash/User.qml b/modules/dashboard/dash/User.qml index ead6fcd..32e983d 100644 --- a/modules/dashboard/dash/User.qml +++ b/modules/dashboard/dash/User.qml @@ -111,6 +111,7 @@ Row { onAccepted: { Paths.copy(selectedFile, `${Paths.home}/.face`); pfp.pathChanged(); + Quickshell.execDetached(["notify-send", "-a", "caelestia-shell", "-u", "low", "Profile picture changed", `Profile picture changed to ${Paths.strip(selectedFile)}`]); } } } diff --git a/modules/notifications/Notification.qml b/modules/notifications/Notification.qml index a57c8d2..8a0e367 100644 --- a/modules/notifications/Notification.qml +++ b/modules/notifications/Notification.qml @@ -197,10 +197,12 @@ StyledRect { return "download"; if (summary.includes("update")) return "update"; - if (summary.startsWith("file")) - return "folder_copy"; - if (summary.startsWith("unable to")) + if (summary.includes("unable to")) return "deployed_code_alert"; + if (summary.includes("profile")) + return "person"; + if (summary.includes("file")) + return "folder_copy"; if (root.modelData.urgency === NotificationUrgency.Critical) return "release_alert"; return "chat"; |