mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-19 04:08:48 +00:00
settings: add 24h/12h time format config
This commit is contained in:
parent
bb5eabb75e
commit
65179b2358
1 changed files with 32 additions and 0 deletions
|
|
@ -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"
|
||||
},
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue