You are not logged in.

#1 2015-07-27 10:31:29

ioku
Member
Registered: 2015-07-27
Posts: 2

Close dunst notification

Hi, I'm adjusting my brightness on two screens with bash script and I'd like to see what is current brightness for which I use dunst. It pops up every time brightness changes.
Problem is that those little windows generated by dunst are just staying there until their timeout and when I change brightness fast there are many of them.
Is there any way I can close the previous ones? Lets say by application name?

Offline

#2 2015-07-27 20:10:04

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: Close dunst notification

not sure if its what you want but in your ~/.config/dunst/dunstrc

maybe look for 'timeout = xx' and change urgency_low to a lower value


...
[urgency_low]
    # IMPORTANT: colors have to be defined in quotation marks.
    # Otherwise the '#' and following  would be interpreted as a comment.
    background = "#D3D3A4"
    foreground = "#404040"
    timeout = 5

[urgency_normal]
    background = "#D3D3A4"
    foreground = "#404040"
    timeout = 5

[urgency_critical]
    background = "#ff9999"
    foreground = "#412F27"
    timeout = 5
...

Last edited by Malkymder (2015-07-27 20:14:30)

Offline

#3 2015-07-27 20:27:49

Malkymder
Member
Registered: 2015-05-13
Posts: 258

Re: Close dunst notification

Also you might like this link http://tech.x4343.org/posts/2014/12/some-i3wm-settings/

I use i3blocks with the Notification blocklet from https://github.com/vivien/i3blocks/wiki/Blocklets and quick notifications only spawn 1 notification osd

Last edited by Malkymder (2015-07-27 20:36:34)

Offline

#4 2015-07-29 18:52:26

ioku
Member
Registered: 2015-07-27
Posts: 2

Re: Close dunst notification

The second one should work. Thanks :-)

Offline

Board footer

Powered by FluxBB