mirror of
https://github.com/ublue-os/packages.git
synced 2026-11-03 21:49:48 -09:00
fix: patch for plasma-setup-bazzite (#1201)
This commit is contained in:
parent
39949af405
commit
606f6e0533
1 changed files with 3 additions and 4 deletions
|
|
@ -6,16 +6,15 @@
|
|||
# bazzite doesn't offer any additional light themes
|
||||
# https://invent.kde.org/plasma/plasma-setup/-/issues/72
|
||||
diff --git i/modules/prepareutil/prepareutil.cpp w/modules/prepareutil/prepareutil.cpp
|
||||
index 7c9d768..c124eed 100644
|
||||
index 7c9d768..0fd832b 100644
|
||||
--- i/modules/prepareutil/prepareutil.cpp
|
||||
+++ w/modules/prepareutil/prepareutil.cpp
|
||||
@@ -93,9 +93,9 @@ void PrepareUtil::setUsingDarkTheme(bool usingDarkTheme)
|
||||
@@ -93,7 +93,7 @@ void PrepareUtil::setUsingDarkTheme(bool usingDarkTheme)
|
||||
{
|
||||
// use plasma-apply-lookandfeel since it has logic for notifying the shell of changes
|
||||
if (usingDarkTheme) {
|
||||
- QProcess::execute(u"plasma-apply-lookandfeel"_s, {QStringLiteral("--apply"), QStringLiteral("org.kde.breezedark.desktop")});
|
||||
+ QProcess::execute(u"plasma-apply-lookandfeel"_s, {QStringLiteral("--apply"), QStringLiteral("com.valve.vapor.desktop")});
|
||||
} else {
|
||||
QProcess::execute(u"plasma-apply-lookandfeel"_s, {QStringLiteral("--apply"), QStringLiteral("org.kde.breeze.desktop")});
|
||||
}
|
||||
|
||||
m_usingDarkTheme = usingDarkTheme;
|
||||
|
|
|
|||
Loading…
Reference in a new issue