Force to front of queue?
Is there a way for a notification to force itself to the front of the queue instead of waiting? I don't use a bar and I use twmn as a way to access information (battery level, time, etc). Having to wait for the duration to finish is kind of annoying.
Any pointers if I were to implement this?
https://github.com/sboli/twmn/blob/5b92ac5d8c805a536211cb8dcee987247c0e6707/twmnd/widget.cpp#L113
For us non programmers, is that just a one line addition?
@HellishINC Nope, that’s the pointer requested.
On a quick glance,
https://github.com/sboli/twmn/blob/5b92ac5d8c805a536211cb8dcee987247c0e6707/twmnd/widget.cpp#L120
should probably be replaced by a push_front or similar (not familiar with the C++ stdlib), but I haven’t looked into the rest of the logic enough to know for sure.