Skip to main content

send_gio

Function send_gio 

Source
fn send_gio(title: &str, body: &str, notification_id: &str)
Expand description

Send a desktop notification via gio::Notification.

This uses the XDG notification portal under Flatpak and the native desktop notification daemon on bare-metal installs. The themed icon ensures the app icon renders correctly in both scenarios.