twmn icon indicating copy to clipboard operation
twmn copied to clipboard

Force to front of queue?

Open jb55 opened this issue 7 years ago • 3 comments

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?

jb55 avatar Feb 22 '18 01:02 jb55

https://github.com/sboli/twmn/blob/5b92ac5d8c805a536211cb8dcee987247c0e6707/twmnd/widget.cpp#L113

Profpatsch avatar Mar 24 '18 11:03 Profpatsch

For us non programmers, is that just a one line addition?

HellishINC avatar Mar 31 '18 06:03 HellishINC

@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.

Profpatsch avatar Mar 31 '18 08:03 Profpatsch