Similar for Krita: https://github.com/alvinhochun/KritaShellExtension
From https://phabricator.kde.org/T2794