forked from Shinonome/dots-hyprland
add config to force terminal theming mode
This commit is contained in:
@@ -91,6 +91,7 @@ Singleton {
|
|||||||
property bool enableAppsAndShell: true
|
property bool enableAppsAndShell: true
|
||||||
property bool enableQtApps: true
|
property bool enableQtApps: true
|
||||||
property bool enableTerminal: true
|
property bool enableTerminal: true
|
||||||
|
property bool forceTerminalDarkMode: false
|
||||||
}
|
}
|
||||||
property JsonObject palette: JsonObject {
|
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
|
property string type: "auto" // Allowed: auto, scheme-content, scheme-expressive, scheme-fidelity, scheme-fruit-salad, scheme-monochrome, scheme-neutral, scheme-rainbow, scheme-tonal-spot
|
||||||
|
|||||||
@@ -40,7 +40,19 @@ ContentPage {
|
|||||||
content: Translation.tr("Shell & utilities theming must also be enabled")
|
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")
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user