Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: let DEs control notifications timeouts
There have been some issues (#673) informing that the notifications timeout were not working on KDE. On 843412d I wrote that the timeout unit is millisecond, as stated on the docs here: https://notify2.readthedocs.io/en/latest/#notify2.Notification.set_timeout But after some trial and error: - set_timeout() units are in seconds, at least for KDE 5.26.3, Xfce 4.18 and GNOME 43. - not specifying the timeout with set_timeout() lets the Desktop Environment handle the timeout for us, from their respective preferences window. So at least now there're some DEs where the notifications are closed as expected.
- Loading branch information