diff --git a/README.md b/README.md index 7a657dd..3c93d94 100644 --- a/README.md +++ b/README.md @@ -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. -* 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. diff --git a/firestarter b/firestarter index 74b620b..2101d5b 100755 --- a/firestarter +++ b/firestarter @@ -327,6 +327,7 @@ step_preexecute() { if command -v kcminit > /dev/null 2>&1; then log "Initializing KDE Control Module settings" kcminit > /dev/null 2>&1 + export XDG_CURRENT_DESKTOP="KDE" elif command -v qt5ct > /dev/null 2>&1; then log "Integrating qt5ct" if [ -z "$QT_QPA_PLATFORMTHEME" ]; then