dunst icon indicating copy to clipboard operation
dunst copied to clipboard

Dynamically change geometry with rules

Open the-anonymous-raven opened this issue 4 years ago • 5 comments

Dunst does not support adding flags like geometry while using notify-send. Is it possible to implement this feature?

the-anonymous-raven avatar Jun 07 '21 06:06 the-anonymous-raven

What's your use case for it? It's probably possible with rules. Rules are very flexible and I don't want to add yet another way to do the same thing

fwsmit avatar Jun 07 '21 07:06 fwsmit

What's your use case for it? It's probably possible with rules. Rules are very flexible and I don't want to add yet another way to do the sand thing

I tried using the rules to change geometry but was unsuccessful. behaviour

the-anonymous-raven avatar Jun 07 '21 08:06 the-anonymous-raven

Currently it's not possible to change the geometry without restarting dunst. This is a feature we are looking to implement though. I'll make this issue about that if you don't mind

fwsmit avatar Jun 07 '21 09:06 fwsmit

What's the status on this? I have the same problem. I want my battery low notification to be in the center of the screen but geometry does not work. I can't even get the new system to work (width=100). The geometry works on global though.

[urgency_critical]
    background = "#900000"
    geometry = "0x0-100+100"
    foreground = "#ffffff"
    frame_color = "#ff0000"
    timeout = 5

rickswe avatar May 25 '22 01:05 rickswe

you can try try this https://youtu.be/Ogs_bKH2ntQ

heelsleeh avatar Feb 11 '23 01:02 heelsleeh