Skip to content

Add support for passing notification actions to daemon #153

Description

@AuthenticSm1les

Feature Request

Currently, hyprshot does not pass any actions to the notification daemon when sending screenshot notifications.

It would be useful to add support for notification actions so users can interact with the screenshot directly from the notification (e.g., open the screenshot with xdg-open).

Proposed Solution

Add a --notif-action flag that allows specifying actions in the format id=label. If no actions are specified, a default action open=xdg-open <path> should be added automatically.

Usage Example

hyprshot -m output --notif-action "open=Open Screenshot"

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