From 65179b23586a7700fa232b298779585671fd5a52 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 11 Jul 2025 17:52:42 +0700 Subject: [PATCH] settings: add 24h/12h time format config --- .../ii/modules/settings/ServicesConfig.qml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/.config/quickshell/ii/modules/settings/ServicesConfig.qml b/.config/quickshell/ii/modules/settings/ServicesConfig.qml index ea4fac69b..349aa2376 100644 --- a/.config/quickshell/ii/modules/settings/ServicesConfig.qml +++ b/.config/quickshell/ii/modules/settings/ServicesConfig.qml @@ -199,4 +199,36 @@ ContentPage { } } } + + ContentSection { + title: "Time" + + ColumnLayout { + // Format + ContentSubsectionLabel { + text: "Time format" + } + ConfigSelectionArray { + currentValue: Config.options.time.format + configOptionName: "time.format" + onSelected: newValue => { + Config.options.time.format = newValue; + } + options: [ + { + displayName: "24h", + value: "hh:mm" + }, + { + displayName: "12h am/pm", + value: "h:mm ap" + }, + { + displayName: "12h AM/PM", + value: "h:mm AP" + }, + ] + } + } + } }