Skip to content

Allow customization of direction of a sequence notifications #1438

@jwdevel

Description

@jwdevel

I recently upgraded dunst, and found that some functionality with the old geometry = ... syntax seems to be gone.

Here's what I want:
I put my notifications in the bottom-right of the screen.
Further, I want each new notification to stack on top of the existing ones.
So, after 3 notifications, it should look like this:

notification 3
notification 2
notification 1

That way, if I click on a notification with my mouse, I can be 100% confident that I will get the one I want.
Currently, to the best of my knowledge, there is no way to get this behavior — though I did have it working in an older version of dunst.

Today, the 3 notifications above will appear like:

notification 1
notification 2
notification 3

With this scheme, if I try to click on a notification, and a new notification pops up at the wrong moment, I will accidentally click the wrong one (since they all get shifted).


I remember fighting against this in the older version, too, and wound up with the positioning I chose just because it was the only one that seemed to preserve the positions of existing notifications when adding new ones.

Now, I can get similar behavior by putting this in the top-right (rather than bottom-left), but it's a little annoying to change my habits (:

My suggestion: Perhaps have some "preserve_position" boolean config value, which will ensure that existing notifications do not get moved, as new ones are added. I could also imagine it being accomplished via some sort of "gravity" value or "flow direction" or other approach. But the boolean seems most direct.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions