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
+10
View File
@@ -990,6 +990,16 @@
"label": "Use monospaced font",
"description": "When enabled, the clock will use the monospaced font."
},
"use-custom-font": {
"label": "Use custom font",
"description": "Override the default font selection with a custom font for the clock."
},
"custom-font": {
"label": "Custom font",
"description": "Select a custom font for the clock display.",
"placeholder": "Select custom font...",
"search-placeholder": "Search fonts..."
},
"clock-display": {
"label": "Clock display",
"description": "Customize your clock's display by adding tokens from the list below. To use the 12-hour format, you must include the 'AP' token."