diff --git a/.config/quickshell/ii/modules/common/Config.qml b/.config/quickshell/ii/modules/common/Config.qml index 83529df4..0365fa83 100644 --- a/.config/quickshell/ii/modules/common/Config.qml +++ b/.config/quickshell/ii/modules/common/Config.qml @@ -95,6 +95,7 @@ Singleton { property real harmony: 0.8 property real harmonizeThreshold: 100 property real termFgBoost: 0.35 + property bool forceDarkMode: false } } property JsonObject palette: JsonObject { diff --git a/.config/quickshell/ii/modules/settings/AdvancedConfig.qml b/.config/quickshell/ii/modules/settings/AdvancedConfig.qml index d28f7fb5..9a8aa2a3 100644 --- a/.config/quickshell/ii/modules/settings/AdvancedConfig.qml +++ b/.config/quickshell/ii/modules/settings/AdvancedConfig.qml @@ -41,6 +41,20 @@ ContentPage { content: Translation.tr("Shell & utilities theming must also be enabled") } } + ConfigRow { + uniform: true + ConfigSwitch { + buttonIcon: "dark_mode" + text: Translation.tr("Force dark mode in terminal") + checked: Config.options.appearance.wallpaperTheming.terminalGenerationProps.forceDarkMode + onCheckedChanged: { + Config.options.appearance.wallpaperTheming.terminalGenerationProps.forceDarkMode= checked; + } + StyledToolTip { + content: Translation.tr("Ignored if terminal theming is not enabled") + } + } + } ConfigSpinBox { icon: "invert_colors"