Integrated KDE theming fully

There's a note in the README now about how this changes XDG_CURRENT_DESKTOP
This commit is contained in:
Salt 2019-06-21 19:35:33 -05:00
parent 3586e82dcc
commit 12d7b42ec3
2 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,7 @@ Firestarter, in addition to spawning the programs in the default configs, also i
* loginctl: Will be used to log out when firestarter dies. * loginctl: Will be used to log out when firestarter dies.
* Plasma: If Plasma is installed (or `kcminit` at least), then `kcminit` will be invoked to configure device and theme settings. * Plasma: If Plasma is installed (or `kcminit` at least), then `kcminit` will be invoked to configure device and theme settings. *When this is the case, `XDG_CURRENT_DESKTOP` is changed to `KDE`!*
* Qt5ct: Assuming Plasma is *not* installed, qt5ct will be used as a fallback for Qt theming. * Qt5ct: Assuming Plasma is *not* installed, qt5ct will be used as a fallback for Qt theming.

View File

@ -327,6 +327,7 @@ step_preexecute() {
if command -v kcminit > /dev/null 2>&1; then if command -v kcminit > /dev/null 2>&1; then
log "Initializing KDE Control Module settings" log "Initializing KDE Control Module settings"
kcminit > /dev/null 2>&1 kcminit > /dev/null 2>&1
export XDG_CURRENT_DESKTOP="KDE"
elif command -v qt5ct > /dev/null 2>&1; then elif command -v qt5ct > /dev/null 2>&1; then
log "Integrating qt5ct" log "Integrating qt5ct"
if [ -z "$QT_QPA_PLATFORMTHEME" ]; then if [ -z "$QT_QPA_PLATFORMTHEME" ]; then