mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
81 lines
2.8 KiB
QML
81 lines
2.8 KiB
QML
import QtQuick
|
|
import qs
|
|
import qs.services
|
|
import qs.modules.common
|
|
import qs.modules.common.widgets
|
|
|
|
ContentPage {
|
|
forceWidth: true
|
|
|
|
ContentSection {
|
|
icon: "colors"
|
|
title: Translation.tr("Color generation")
|
|
|
|
ConfigSwitch {
|
|
buttonIcon: "hardware"
|
|
text: Translation.tr("Shell & utilities")
|
|
checked: Config.options.appearance.wallpaperTheming.enableAppsAndShell
|
|
onCheckedChanged: {
|
|
Config.options.appearance.wallpaperTheming.enableAppsAndShell = checked;
|
|
}
|
|
}
|
|
ConfigSwitch {
|
|
buttonIcon: "tv_options_input_settings"
|
|
text: Translation.tr("Qt apps")
|
|
checked: Config.options.appearance.wallpaperTheming.enableQtApps
|
|
onCheckedChanged: {
|
|
Config.options.appearance.wallpaperTheming.enableQtApps = checked;
|
|
}
|
|
StyledToolTip {
|
|
content: Translation.tr("Shell & utilities theming must also be enabled")
|
|
}
|
|
}
|
|
ConfigSwitch {
|
|
buttonIcon: "terminal"
|
|
text: Translation.tr("Terminal")
|
|
checked: Config.options.appearance.wallpaperTheming.enableTerminal
|
|
onCheckedChanged: {
|
|
Config.options.appearance.wallpaperTheming.enableTerminal = checked;
|
|
}
|
|
StyledToolTip {
|
|
content: Translation.tr("Shell & utilities theming must also be enabled")
|
|
}
|
|
}
|
|
|
|
ConfigSpinBox {
|
|
icon: "invert_colors"
|
|
text: Translation.tr("Terminal: Harmony (%)")
|
|
value: Config.options.appearance.wallpaperTheming.terminalGenerationProps.harmony * 100
|
|
from: 0
|
|
to: 100
|
|
stepSize: 10
|
|
onValueChanged: {
|
|
Config.options.appearance.wallpaperTheming.terminalGenerationProps.harmony = value / 100;
|
|
}
|
|
}
|
|
ConfigSpinBox {
|
|
icon: "gradient"
|
|
text: Translation.tr("Terminal: Harmonize threshold")
|
|
value: Config.options.appearance.wallpaperTheming.terminalGenerationProps.harmonizeThreshold
|
|
from: 0
|
|
to: 100
|
|
stepSize: 10
|
|
onValueChanged: {
|
|
Config.options.appearance.wallpaperTheming.terminalGenerationProps.harmonizeThreshold = value;
|
|
}
|
|
}
|
|
ConfigSpinBox {
|
|
icon: "format_color_text"
|
|
text: Translation.tr("Terminal: Foreground boost (%)")
|
|
value: Config.options.appearance.wallpaperTheming.terminalGenerationProps.termFgBoost * 100
|
|
from: 0
|
|
to: 100
|
|
stepSize: 10
|
|
onValueChanged: {
|
|
Config.options.appearance.wallpaperTheming.terminalGenerationProps.termFgBoost = value / 100;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|