Skip to content

[Feature Request] Support for timeouts #38

@iamkroot

Description

@iamkroot

At least on Linux, the notification spec supports specifying the timeout for every notification. It would be great if this option is exposed to the top-level API as timeout: int = -1 (-1 means OS default).

Bonus

For other OSes, maybe this can be implemented by spawning an async Timer task that will clear the notif after expiration.

PS: Thanks for making this project. It is extremely useful to have a singular and full-featured interface for cross-platform notifications! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions