Closed biopsin closed 1 week ago
could it be that dmenu automatically orders entry by alphabetical order?
no the dmenu entries are ordered but in reverse order, however I will test with different priority tho.
Maybe your right its alphabetical but bottom to top in dmenu.
Yes dmenu_output is ordered alphabetical but thats fine as are the notifications (at least locally), so they both align, but one is in a revers order. The first dmenu_line should trigger first/top notification and so on as its intuitive at least to me to match a selected line with a spesific notification, if it makes sense?
I'm looking at this. could it be that you are using a particular notification ordering? or are you using the default one (last arrived at the top)?
also what did you do to open that notification menu? exact command
Yes default; last is top. Default binary location as in dunstrc
but its a symlink to local/bin with extra dmenu config settings, nothing that would order on a custom level.
I guess it would also make sense to order/group in a mixed action nonaction condition all action notifications are stacked first/above all nonaction notifications.
what did you do to pop up that menu exactly?
bind-key 4M-space - "dunstctl context" or is there something else you are thinking of?
just wanted to be sure. I think the problem lies in this function here https://github.com/dunst-project/dunst/blob/d2faa87081329a31726082837d5197199be53f50/src/menu.c#L296
I will try to fix the order in some time
Hello, I successfully reproduced this problem and it turns out it was just a linked list being reversed.
@bynect Hi, thank you for looking into it, will test the patch later today both for vertical and horisontal dmenu context.
Issue description
Hi, i need to revers the order dmenu outputs open notifications, the order in picture is "dmenu top" = "bottom notification" I would like to align it equal top to bottom?
Installation info
1.11
pkg
cwm
void
Minimal dunstrc
```ini dmenu = /usr/local/bin/dmenu #####dmenu bin /usr/bin/dmenu -i -l 9 -x 1560 -w 720 -fn "Dejavu Sans:style=Book:pixelsize=16" \ -nb "#FDF6E3" -nf "#555555" -sb "#657B83" -sf "#FFFFFF" ```