Dunst: frame_color issue

Created on 20 Nov 2019  路  4Comments  路  Source: dunst-project/dunst

~/.config/dunst/dunstrc

[global]
separator_height = 5
separator_color = auto / frame # same result with the 2 options
* EDIT - correction: separator_color = auto / foreground

When setting a different frame_color in the [global] and [urgency_low/normal/critical] sections, and issuing a series of notifications with:

notify-send [-u low/normal/critical] "123" "ABC"

only the first notification's frames (top, bottom, left, right) are displayed with the correct frame_color.

Once other notifications pop-up, each additional notification is missing the correct top frame_color.

Is this a bug?

  • Version: 1.4.1
  • Install type: package
  • OS: FreeBSD 12.0-RELEASE-p11
Feature graphics

Most helpful comment

How about making it a real separator, like:

|............................................................|
|.................upper notification................|
|............................................................|
|--------------- bottom border --------------|
------------------ separator ------------------
|------------------ top border ----------------|
|.............................................................|
|...................lower notification................|
|.............................................................|

All 4 comments

I'm not sure I understand what the issue is here.
Could you post your full dunstrc, what color are you seeing and what are you expecting to see?

(edited a typo in the first post).

I'm expecting each notification to be displayed with its 4 border's dedicated frame_color.

dunstrc.txt (added the txt suffix to upload the file)

separator_color = auto
dunst-notif-auto

separator_color = foreground
dunst-notif-foreground

I just got some time to test this and now I get what you mean. separator_color = frame will use the color of the topmost notification.

It's not really a bug but a hastily made compromise for code clarity. I'm open to adding an option of using half the separator for the top notification frame color and the other half for the bottom one as I think you expect it do.

How about making it a real separator, like:

|............................................................|
|.................upper notification................|
|............................................................|
|--------------- bottom border --------------|
------------------ separator ------------------
|------------------ top border ----------------|
|.............................................................|
|...................lower notification................|
|.............................................................|

Was this page helpful?
0 / 5 - 0 ratings