forked from Shinonome/dots-hyprland
readd visible's correctly
This commit is contained in:
@@ -71,6 +71,7 @@ ContentPage {
|
|||||||
|
|
||||||
|
|
||||||
ConfigRow{
|
ConfigRow{
|
||||||
|
visible: Config.options.background.clock.style === "cookie"
|
||||||
ContentSubsection {
|
ContentSubsection {
|
||||||
enabled: Config.options.background.clock.style === "cookie"
|
enabled: Config.options.background.clock.style === "cookie"
|
||||||
title: Translation.tr("Dial number style")
|
title: Translation.tr("Dial number style")
|
||||||
@@ -122,6 +123,7 @@ ContentPage {
|
|||||||
|
|
||||||
ContentSubsection {
|
ContentSubsection {
|
||||||
enabled: Config.options.background.clock.style === "cookie"
|
enabled: Config.options.background.clock.style === "cookie"
|
||||||
|
visible: enabled
|
||||||
title: Translation.tr("Hour hand style")
|
title: Translation.tr("Hour hand style")
|
||||||
ConfigSelectionArray {
|
ConfigSelectionArray {
|
||||||
currentValue: Config.options.background.clock.cookie.hourHandStyle
|
currentValue: Config.options.background.clock.cookie.hourHandStyle
|
||||||
@@ -155,6 +157,7 @@ ContentPage {
|
|||||||
|
|
||||||
ContentSubsection {
|
ContentSubsection {
|
||||||
enabled: Config.options.background.clock.style === "cookie"
|
enabled: Config.options.background.clock.style === "cookie"
|
||||||
|
visible: enabled
|
||||||
title: Translation.tr("Minute hand style")
|
title: Translation.tr("Minute hand style")
|
||||||
ConfigSelectionArray {
|
ConfigSelectionArray {
|
||||||
currentValue: Config.options.background.clock.cookie.minuteHandStyle
|
currentValue: Config.options.background.clock.cookie.minuteHandStyle
|
||||||
@@ -192,6 +195,7 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
ContentSubsection {
|
ContentSubsection {
|
||||||
enabled: Config.options.background.clock.style === "cookie"
|
enabled: Config.options.background.clock.style === "cookie"
|
||||||
|
visible: enabled
|
||||||
title: Translation.tr("Seconds hand style")
|
title: Translation.tr("Seconds hand style")
|
||||||
ConfigSelectionArray {
|
ConfigSelectionArray {
|
||||||
currentValue: Config.options.background.clock.cookie.secondHandStyle
|
currentValue: Config.options.background.clock.cookie.secondHandStyle
|
||||||
@@ -229,6 +233,7 @@ ContentPage {
|
|||||||
|
|
||||||
ContentSubsection {
|
ContentSubsection {
|
||||||
enabled: Config.options.background.clock.style === "cookie"
|
enabled: Config.options.background.clock.style === "cookie"
|
||||||
|
visible: enabled
|
||||||
title: Translation.tr("Date style")
|
title: Translation.tr("Date style")
|
||||||
ConfigSelectionArray {
|
ConfigSelectionArray {
|
||||||
currentValue: Config.options.background.clock.cookie.dateStyle
|
currentValue: Config.options.background.clock.cookie.dateStyle
|
||||||
@@ -265,6 +270,7 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
StyledText {
|
StyledText {
|
||||||
|
visible: Config.options.background.clock.style === "cookie"
|
||||||
Layout.leftMargin: 10
|
Layout.leftMargin: 10
|
||||||
color: Appearance.colors.colSubtext
|
color: Appearance.colors.colSubtext
|
||||||
font.pixelSize: Appearance.font.pixelSize.smallie
|
font.pixelSize: Appearance.font.pixelSize.smallie
|
||||||
@@ -274,6 +280,7 @@ ContentPage {
|
|||||||
|
|
||||||
ConfigSpinBox {
|
ConfigSpinBox {
|
||||||
enabled: Config.options.background.clock.style === "cookie"
|
enabled: Config.options.background.clock.style === "cookie"
|
||||||
|
visible: enabled
|
||||||
icon: "support"
|
icon: "support"
|
||||||
text: Translation.tr("Clock sides")
|
text: Translation.tr("Clock sides")
|
||||||
value: Config.options.background.clock.clockSides
|
value: Config.options.background.clock.clockSides
|
||||||
@@ -287,6 +294,7 @@ ContentPage {
|
|||||||
|
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
enabled: Config.options.background.clock.style === "cookie"
|
enabled: Config.options.background.clock.style === "cookie"
|
||||||
|
visible: enabled
|
||||||
buttonIcon: "waves"
|
buttonIcon: "waves"
|
||||||
text: Translation.tr("Constantly rotate")
|
text: Translation.tr("Constantly rotate")
|
||||||
checked: Config.options.background.clock.cookie.constantlyRotate
|
checked: Config.options.background.clock.cookie.constantlyRotate
|
||||||
@@ -300,6 +308,7 @@ ContentPage {
|
|||||||
|
|
||||||
ConfigRow{
|
ConfigRow{
|
||||||
enabled: Config.options.background.clock.style === "cookie"
|
enabled: Config.options.background.clock.style === "cookie"
|
||||||
|
visible: enabled
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
enabled: Config.options.background.clock.style === "cookie" && Config.options.background.clock.cookie.dialNumberStyle === "dots" || Config.options.background.clock.cookie.dialNumberStyle === "full"
|
enabled: Config.options.background.clock.style === "cookie" && Config.options.background.clock.cookie.dialNumberStyle === "dots" || Config.options.background.clock.cookie.dialNumberStyle === "full"
|
||||||
buttonIcon: "brightness_7"
|
buttonIcon: "brightness_7"
|
||||||
@@ -318,6 +327,7 @@ ContentPage {
|
|||||||
|
|
||||||
ConfigSwitch {
|
ConfigSwitch {
|
||||||
enabled: Config.options.background.clock.style === "cookie" && Config.options.background.clock.cookie.dialNumberStyle !== "numbers"
|
enabled: Config.options.background.clock.style === "cookie" && Config.options.background.clock.cookie.dialNumberStyle !== "numbers"
|
||||||
|
visible: Config.options.background.clock.style === "cookie"
|
||||||
buttonIcon: "farsight_digital"
|
buttonIcon: "farsight_digital"
|
||||||
text: Translation.tr("Clock indicator")
|
text: Translation.tr("Clock indicator")
|
||||||
checked: Config.options.background.clock.cookie.timeIndicators
|
checked: Config.options.background.clock.cookie.timeIndicators
|
||||||
|
|||||||
Reference in New Issue
Block a user