[OSD] Allow disabling OSD through config file
Differential Revision: https://phabricator.kde.org/D1770