]> git.earman.xyz Git - sensor-watch.git/commitdiff
Add the totp face and some creds
authorrush <iv@earman.xyz>
Fri, 26 Jun 2026 20:29:38 +0000 (16:29 -0400)
committerrush <iv@earman.xyz>
Fri, 26 Jun 2026 20:35:36 +0000 (16:35 -0400)
Un-ignored the secrets file, since I have upstream disabled for push, and I want to be
able to transfer the creds between machines via my server's repo.

movement_config.h
watch-faces/complication/.gitignore [deleted file]
watch-faces/complication/totp_face.secrets.h [new file with mode: 0644]

index 219ddb4b9beeb47fb1b7e28c134fde21f8927130..8e1dc964e81b8c30e76033f179d845b254d1e74e 100644 (file)
@@ -34,6 +34,7 @@ const watch_face_t watch_faces[] = {
     alarm_face,
     temperature_display_face,
     voltage_face,
+    totp_face,
     settings_face,
     set_time_face,
 };
@@ -46,10 +47,10 @@ const watch_face_t watch_faces[] = {
  * Some folks also like to use this to hide the preferences and time set faces from the normal rotation.
  * If you don't want any faces to be excluded, set this to 0 and a long Mode press will have no effect.
  */
-#define MOVEMENT_SECONDARY_FACE_INDEX (MOVEMENT_NUM_FACES - 2)
+#define MOVEMENT_SECONDARY_FACE_INDEX (MOVEMENT_NUM_FACES - 3)
 
 /* Custom hourly chime tune. Check movement_custom_signal_tunes.h for options. */
-#define SIGNAL_TUNE_DEFAULT
+#define SIGNAL_TUNE_MGS_CODEC
 
 /* Determines the intensity of the led colors
  * Set a hex value 0-15 with 0x0 being off and 0xF being max intensity
diff --git a/watch-faces/complication/.gitignore b/watch-faces/complication/.gitignore
deleted file mode 100644 (file)
index c33c021..0000000
+++ /dev/null
@@ -1 +0,0 @@
-totp_face.secrets.h
diff --git a/watch-faces/complication/totp_face.secrets.h b/watch-faces/complication/totp_face.secrets.h
new file mode 100644 (file)
index 0000000..4bac9fb
--- /dev/null
@@ -0,0 +1,4 @@
+static totp_t credentials[] = {
+       CREDENTIAL(365, "DXLHRHMVGXGTTWWH", SHA1, 30),
+       CREDENTIAL(NIN, "ZLQPMBFDPHIOEEY", SHA1, 30),
+};