Skip to content

Commit e674304

Browse files
committed
Implement autoconfig for Budgie DE
1 parent bfc9408 commit e674304

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/frontend/PlatformConfig.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,13 @@ void setupMateIME() {
516516
setupFcitx5InputMethod();
517517
}
518518

519+
void setupBudgieIME() {
520+
configureImConfigForFcitx5();
521+
setFcitx5EnvVarsForSession();
522+
startFcitx5IfNeeded();
523+
setupFcitx5InputMethod();
524+
}
525+
519526
void setupInputSources() {
520527
auto de = detectDesktopEnvironment();
521528

@@ -531,6 +538,8 @@ void setupInputSources() {
531538
setupXfceIME();
532539
} else if(de == DesktopEnvironment::MATE) {
533540
setupMateIME();
541+
} else if(de == DesktopEnvironment::Budgie) {
542+
setupBudgieIME();
534543
} else if(de == DesktopEnvironment::macOS) {
535544
#ifdef Q_OS_MACOS
536545
bool enabled = macOS::getInputSourceEnabled();

0 commit comments

Comments
 (0)