forked from Shinonome/dots-hyprland
add icons to settings
This commit is contained in:
@@ -14,6 +14,7 @@ ContentPage {
|
|||||||
|
|
||||||
ConfigRow{
|
ConfigRow{
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
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: {
|
||||||
@@ -21,6 +22,7 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "format_quote"
|
||||||
text: Translation.tr("Show quote")
|
text: Translation.tr("Show quote")
|
||||||
checked: Config.options.background.showQuote
|
checked: Config.options.background.showQuote
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -31,6 +33,7 @@ ContentPage {
|
|||||||
|
|
||||||
ConfigRow{
|
ConfigRow{
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
|
icon: "loupe"
|
||||||
text: Translation.tr("Scale (%)")
|
text: Translation.tr("Scale (%)")
|
||||||
value: Config.options.background.clock.scale * 100
|
value: Config.options.background.clock.scale * 100
|
||||||
from: 1
|
from: 1
|
||||||
@@ -42,6 +45,7 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
|
icon: "support"
|
||||||
text: Translation.tr("Clock sides")
|
text: Translation.tr("Clock sides")
|
||||||
value: Config.options.background.clock.clockSides
|
value: Config.options.background.clock.clockSides
|
||||||
from: 1
|
from: 1
|
||||||
@@ -79,7 +83,9 @@ ContentPage {
|
|||||||
ContentSubsection {
|
ContentSubsection {
|
||||||
title: Translation.tr("Cookie clock options")
|
title: Translation.tr("Cookie clock options")
|
||||||
ConfigRow{
|
ConfigRow{
|
||||||
|
enabled: Config.options.background.clock.style === "cookie"
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "graph_6"
|
||||||
text: Translation.tr("Hour dots")
|
text: Translation.tr("Hour dots")
|
||||||
checked: Config.options.background.clock.cookie.hourDots
|
checked: Config.options.background.clock.cookie.hourDots
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
@@ -87,13 +93,15 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
text: Translation.tr("Time indicator")
|
buttonIcon: "farsight_digital"
|
||||||
|
text: Translation.tr("Clock indicator")
|
||||||
checked: Config.options.background.clock.cookie.timeIndicators
|
checked: Config.options.background.clock.cookie.timeIndicators
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
Config.options.background.clock.cookie.timeIndicators = checked;
|
Config.options.background.clock.cookie.timeIndicators = checked;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
|
buttonIcon: "line_end"
|
||||||
text: Translation.tr("Minute hand adjust")
|
text: Translation.tr("Minute hand adjust")
|
||||||
checked: Config.options.background.clock.cookie.minuteHandSizeAdjust
|
checked: Config.options.background.clock.cookie.minuteHandSizeAdjust
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
|
|||||||
Reference in New Issue
Block a user