There is a PR that seems to be on the same topic made by ( @AlexTrovato tell me if I’m wrong) :
https://github.com/GladysAssistant/Gladys/pull/1420