Skip to content

Proposal: Show action count in notifications #1218

@elamperti

Description

@elamperti

Users want to know how many actions a notification has so they can choose how to intreract with it (see #509, #1150 and #1216).

We could add a setting show_actions, configurable to one of these four settings:

  • none: No information regarding actions will be displayed (falls in line with deprecating show_indicators)
  • minimal (default): If the notification has one action or more, the action_indicator is displayed.
    This is the current dunst behavior. Example: (A)
  • extended: Shows the action_indicator when there's one action, adds an additional + if there are two or more.
    Example: (A+)
  • full: If the notification has one action, shows "(1 action)", if there are more the plural is used, e.g. "(3 actions)"

For all these configurations, when there are no actions available no text is added to the notification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions