forked from Shinonome/dots-hyprland
add settings for clock, add quote for cookie clock, make quote editable from settings
This commit is contained in:
@@ -313,7 +313,7 @@ Variants {
|
||||
}
|
||||
StyledText {
|
||||
// Somehow gets fucked up if made a ClockText???
|
||||
visible: Config.options.background.quote.length > 0
|
||||
visible: Config.options.background.showQuote && Config.options.background.quote.length > 0
|
||||
Layout.fillWidth: true
|
||||
horizontalAlignment: bgRoot.textHorizontalAlignment
|
||||
font {
|
||||
@@ -332,10 +332,11 @@ Variants {
|
||||
|
||||
Loader {
|
||||
id: cookieClockLoader
|
||||
visible: root.clockStyle === "cookie" || root.clockStyle === "simpler-cookie"
|
||||
visible: root.clockStyle === "cookie"
|
||||
active: visible
|
||||
sourceComponent: CookieClock {}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Item {
|
||||
@@ -409,7 +410,7 @@ Variants {
|
||||
}
|
||||
}
|
||||
|
||||
// Components
|
||||
// ComponentsCookieClock {}
|
||||
component ClockText: StyledText {
|
||||
Layout.fillWidth: true
|
||||
horizontalAlignment: bgRoot.textHorizontalAlignment
|
||||
|
||||
Reference in New Issue
Block a user