1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 15:32:50 -05:00

lockscreen/greetd: add 0 in front of single digit hours for 12 hour format. greetd: add option to hide profile image (#1247)

* greetd: add lockScreenShowProfileImage option

* lockscreen/greetd: for non 24 hour formats, add 0 in front of single digit hours to ensure that everything is always centered properly - previously, it would only appear centered if on a double digit hour. also add getEffectiveTimeFormat function to GreetdSettings.

* clock: made pad 12 hour formats optional

---------

Co-authored-by: bbedward <bbedward@gmail.com>
This commit is contained in:
Ethan Todd
2026-01-23 14:47:59 -05:00
committed by GitHub
parent b4ba2dac37
commit 11e23feb0e
6 changed files with 43 additions and 17 deletions

View File

@@ -32,6 +32,7 @@ var SPEC = {
use24HourClock: { def: true },
showSeconds: { def: false },
padHours12Hour: { def: false },
useFahrenheit: { def: false },
windSpeedUnit: { def: "kmh" },
nightModeEnabled: { def: false },