Move clock font settings to widget-specific configuration

- Moved clock font selection from general settings to clock widget settings
- Added custom font toggle and selection in ClockSettings.qml
- Updated BarWidgetRegistry.qml with new clock font metadata
- Removed global clockFont setting from Settings.qml and GeneralTab.qml
- Updated Clock.qml to use widget-specific custom font setting
- Added proper translation keys for new font options
- Maintained backward compatibility with existing font hierarchy
This commit is contained in:
DiscoNiri
2025-10-01 20:26:13 +10:00
parent 8b0e0f6e0e
commit 68e76abfc7
6 changed files with 46 additions and 18 deletions
-13
View File
@@ -237,19 +237,6 @@ ColumnLayout {
}
}
NSearchableComboBox {
label: "Clock Font"
description: "Font used specifically for clock displays in the bar and widgets."
model: FontService.availableFonts
currentKey: Settings.data.ui.clockFont
placeholder: "Select clock font..."
searchPlaceholder: "Search fonts..."
popupHeight: 420 * scaling
minimumWidth: 300 * scaling
onSelected: function (key) {
Settings.data.ui.clockFont = key
}
}
ColumnLayout {
NLabel {