Skip to content

Make non-error notifications transient #2358

@Layerex

Description

@Layerex

Summary

Make non-error notifications transient, so those don't show up in notification tray.

Screenshot from 2022-09-28 11-32-48

How to send a transient notification:

call := obj.Call("org.freedesktop.Notifications.Notify", 0, "gopass", uint32(0), iconURI(), subj, msg, []string{}, map[string]dbus.Variant{"transient": dbus.MakeVariant(true)}, int32(3000))

Also, I think, for transient nofiications exposition time should be lowered from 5 seconds to 3 (standart transient notifications in GNOME seem to use this value).

Metadata

Metadata

Assignees

Labels

featureEnhancements and new features

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions