forked from Shinonome/dots-hyprland
add second precision option to settings, make cookie clock use DateTime.clock
This commit is contained in:
@@ -210,6 +210,18 @@ ContentPage {
|
||||
icon: "nest_clock_farsight_analog"
|
||||
title: Translation.tr("Time")
|
||||
|
||||
ConfigSwitch {
|
||||
buttonIcon: "pace"
|
||||
text: Translation.tr("Second precision")
|
||||
checked: Config.options.time.secondPrecision
|
||||
onCheckedChanged: {
|
||||
Config.options.time.secondPrecision = checked;
|
||||
}
|
||||
StyledToolTip {
|
||||
text: Translation.tr("Enable if you want clocks to show seconds accurately")
|
||||
}
|
||||
}
|
||||
|
||||
ContentSubsection {
|
||||
title: Translation.tr("Format")
|
||||
tooltip: ""
|
||||
|
||||
Reference in New Issue
Block a user