From 12d7b42ec38f69de18dc66d71685602049eaee75 Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 21 Jun 2019 19:35:33 -0500 Subject: [PATCH] Integrated KDE theming fully There's a note in the README now about how this changes XDG_CURRENT_DESKTOP --- README.md | 2 +- firestarter | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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