mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-15 15:54:00 -04:00
qtengine had its own plugin check, which printed its rows at the end of the Environment section instead of under QT_QPA_PLATFORMTHEME, with different names and messages than qt6ct or kde. Fold it into the shared platform theme check: the Qt6 plugin is always checked, the Qt5 plugin too when QT_QPA_PLATFORMTHEME names qtengine and a Qt5 build tool can be asked. Also add a row for ~/.config/qtengine/config.json, which is what makes Qt apps follow the DMS colors, and say in verbose mode that an unset QT_QPA_PLATFORMTHEME_QT6 falls back to QT_QPA_PLATFORMTHEME. The XDG_MENU_PREFIX check only looked in /etc/xdg/menus, so a menu file in ~/.config/menus, which the menu spec searches first, was reported as missing. Search the user config dir and every XDG_CONFIG_DIRS entry.