mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-03 12:47:50 +02:00
Set the default formatAlt to "dd MMMM 'W'ww yyyy" (was "dd MMMM yyyy") in shell-defaults.json, the bundled settings-panel defaults, and the form placeholder text — clock's own widget fallback already used this spec but the shipped config overrode it. Qt.formatDateTime doesn't recognize `ww` and renders it literally (`20 May Www 2026`), so add an `isoWeek` helper to clock.qml that pre-substitutes `ww` with a Qt-quoted literal of the ISO 8601 week number before handing the format off to Qt. Users get `20 May W21 2026` without anyone needing to know about the substitution.
68 lines
1.1 KiB
JSON
68 lines
1.1 KiB
JSON
{
|
|
"version": 1,
|
|
"idle": {
|
|
"screensaver": 150,
|
|
"lock": 300
|
|
},
|
|
"bar": {
|
|
"position": "top",
|
|
"transparent": false,
|
|
"centerAnchor": "clock",
|
|
"layout": {
|
|
"left": [
|
|
{
|
|
"id": "omarchy"
|
|
},
|
|
{
|
|
"id": "workspaces"
|
|
}
|
|
],
|
|
"center": [
|
|
{
|
|
"id": "clock",
|
|
"format": "dddd HH:mm",
|
|
"formatAlt": "dd MMMM 'W'ww yyyy",
|
|
"verticalFormat": "HH\n\u2014\nmm"
|
|
},
|
|
{
|
|
"id": "weather"
|
|
},
|
|
{
|
|
"id": "indicators",
|
|
"items": [
|
|
"dnd",
|
|
"nightlight",
|
|
"stayAwake",
|
|
"screenrecording",
|
|
"dictation"
|
|
]
|
|
},
|
|
{
|
|
"id": "systemUpdate"
|
|
}
|
|
],
|
|
"right": [
|
|
{
|
|
"id": "tray"
|
|
},
|
|
{
|
|
"id": "bluetoothPanel"
|
|
},
|
|
{
|
|
"id": "networkPanel"
|
|
},
|
|
{
|
|
"id": "audioPanel"
|
|
},
|
|
{
|
|
"id": "monitorPanel"
|
|
},
|
|
{
|
|
"id": "powerPanel"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"plugins": []
|
|
}
|