From ffb8e284b442d808365adafbc276582ca76cd025 Mon Sep 17 00:00:00 2001 From: cupcat121 <75441895+cupcat121@users.noreply.github.com> Date: Sat, 6 Sep 2025 11:26:42 +0800 Subject: [PATCH] add config to force terminal theming mode --- .config/quickshell/ii/modules/common/Config.qml | 1 + .../ii/modules/settings/AdvancedConfig.qml | 14 +++++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.config/quickshell/ii/modules/common/Config.qml b/.config/quickshell/ii/modules/common/Config.qml index 370b0bb34..71dab67c5 100644 --- a/.config/quickshell/ii/modules/common/Config.qml +++ b/.config/quickshell/ii/modules/common/Config.qml @@ -91,6 +91,7 @@ Singleton { property bool enableAppsAndShell: true property bool enableQtApps: true property bool enableTerminal: true + property bool forceTerminalDarkMode: false } property JsonObject palette: JsonObject { property string type: "auto" // Allowed: auto, scheme-content, scheme-expressive, scheme-fidelity, scheme-fruit-salad, scheme-monochrome, scheme-neutral, scheme-rainbow, scheme-tonal-spot diff --git a/.config/quickshell/ii/modules/settings/AdvancedConfig.qml b/.config/quickshell/ii/modules/settings/AdvancedConfig.qml index 13e97deb2..f5346e8b3 100644 --- a/.config/quickshell/ii/modules/settings/AdvancedConfig.qml +++ b/.config/quickshell/ii/modules/settings/AdvancedConfig.qml @@ -40,7 +40,19 @@ ContentPage { content: Translation.tr("Shell & utilities theming must also be enabled") } } - + } + ConfigRow { + uniform: true + ConfigSwitch { + text: Translation.tr("Force dark mode in terminal") + checked: Config.options.appearance.wallpaperTheming.forceTerminalDarkMode + onCheckedChanged: { + Config.options.appearance.wallpaperTheming.forceTerminalDarkMode = checked; + } + StyledToolTip { + content: Translation.tr("Ignored if terminal theming is not enabled") + } + } } } }