forked from Shinonome/dots-hyprland
backgroundconfig: format, adjust texts
This commit is contained in:
@@ -53,9 +53,9 @@ ContentPage {
|
||||
}
|
||||
|
||||
ContentSection {
|
||||
id: settingsClock
|
||||
icon: "clock_loader_40"
|
||||
title: Translation.tr("Widget: Clock")
|
||||
id: settingsClock
|
||||
|
||||
function stylePresent(styleName) {
|
||||
if (!Config.options.background.widgets.clock.showOnlyWhenLocked && Config.options.background.widgets.clock.style === styleName) {
|
||||
@@ -172,7 +172,7 @@ ContentPage {
|
||||
ContentSubsection {
|
||||
visible: settingsClock.digitalPresent
|
||||
title: Translation.tr("Digital clock settings")
|
||||
tooltip: Translation.tr("Font width and roundness settings are only available for some fonts like 'Google Sans Flex'")
|
||||
tooltip: Translation.tr("Font width and roundness settings are only available for some fonts like Google Sans Flex")
|
||||
|
||||
ConfigRow {
|
||||
uniform: true
|
||||
@@ -196,7 +196,6 @@ ContentPage {
|
||||
|
||||
ConfigRow {
|
||||
uniform: true
|
||||
|
||||
|
||||
ConfigSwitch {
|
||||
buttonIcon: "date_range"
|
||||
@@ -221,7 +220,7 @@ ContentPage {
|
||||
|
||||
MaterialTextArea {
|
||||
Layout.fillWidth: true
|
||||
placeholderText: Translation.tr("Font family (e.g., Google Sans Flex)")
|
||||
placeholderText: Translation.tr("Font family")
|
||||
text: Config.options.background.widgets.clock.digital.font.family
|
||||
wrapMode: TextEdit.Wrap
|
||||
onTextChanged: {
|
||||
@@ -229,7 +228,6 @@ ContentPage {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ConfigSlider {
|
||||
text: Translation.tr("Font weight")
|
||||
value: Config.options.background.widgets.clock.digital.font.weight
|
||||
|
||||
Reference in New Issue
Block a user