Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: notification scheduler #56

Merged
merged 9 commits into from
Dec 13, 2024
Prev Previous commit
Next Next commit
docs: cli flag help and Hints field docstring for schedule
  • Loading branch information
jsonmaf1a committed Dec 11, 2024
commit 177060c73864945db34b5a2fecf4881d699d1781
2 changes: 1 addition & 1 deletion crates/app/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ pub struct SendCommand {
short = 's',
long,
help = "Schedule",
long_help = "Schedule notification"
long_help = "Specifies the time to schedule the notification to be shown."
)]
schedule: String,
}
Expand Down
2 changes: 2 additions & 0 deletions crates/dbus/src/notification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ pub struct Hints {
/// The localized display name will be used to annotate the icon for accessibility purposes.
/// The icon name should be compliant with the Freedesktop.org Icon Naming Specification.
pub action_icons: Option<bool>,

/// Specifies the time to schedule the notification to be shown.
pub schedule: Option<String>,
}

Expand Down
Loading