forked from Shinonome/dots-hyprland
change the place of the showQuote
This commit is contained in:
@@ -12,24 +12,15 @@ ContentPage {
|
|||||||
icon: "wallpaper"
|
icon: "wallpaper"
|
||||||
title: Translation.tr("Background")
|
title: Translation.tr("Background")
|
||||||
|
|
||||||
ConfigRow{
|
ConfigSwitch {
|
||||||
ConfigSwitch {
|
buttonIcon: "nest_clock_farsight_analog"
|
||||||
buttonIcon: "nest_clock_farsight_analog"
|
text: Translation.tr("Show clock")
|
||||||
text: Translation.tr("Show clock")
|
checked: Config.options.background.clock.show
|
||||||
checked: Config.options.background.clock.show
|
onCheckedChanged: {
|
||||||
onCheckedChanged: {
|
Config.options.background.clock.show = checked;
|
||||||
Config.options.background.clock.show = checked;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
ConfigSwitch {
|
|
||||||
buttonIcon: "format_quote"
|
|
||||||
text: Translation.tr("Show quote")
|
|
||||||
checked: Config.options.background.showQuote
|
|
||||||
onCheckedChanged: {
|
|
||||||
Config.options.background.showQuote = checked;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
icon: "loupe"
|
icon: "loupe"
|
||||||
@@ -337,6 +328,14 @@ ContentPage {
|
|||||||
|
|
||||||
ContentSubsection {
|
ContentSubsection {
|
||||||
title: Translation.tr("Quote settings")
|
title: Translation.tr("Quote settings")
|
||||||
|
ConfigSwitch {
|
||||||
|
buttonIcon: "format_quote"
|
||||||
|
text: Translation.tr("Show quote")
|
||||||
|
checked: Config.options.background.showQuote
|
||||||
|
onCheckedChanged: {
|
||||||
|
Config.options.background.showQuote = checked;
|
||||||
|
}
|
||||||
|
}
|
||||||
MaterialTextArea {
|
MaterialTextArea {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
placeholderText: Translation.tr("Quote")
|
placeholderText: Translation.tr("Quote")
|
||||||
|
|||||||
Reference in New Issue
Block a user