From 59b5ddcc695516fcca586e59fea52cdfdcc6cb74 Mon Sep 17 00:00:00 2001 From: BowDown097 Date: Thu, 2 Jan 2025 07:01:28 -0800 Subject: [PATCH] refactor(clock): move justify above common --- src/modules/clock.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/clock.rs b/src/modules/clock.rs index 8f155a5..d006752 100644 --- a/src/modules/clock.rs +++ b/src/modules/clock.rs @@ -58,10 +58,6 @@ pub struct ClockModule { #[serde(default)] orientation: ModuleOrientation, - /// See [common options](module-level-options#common-options). - #[serde(flatten)] - pub common: Option, - /// The justification (alignment) of the date/time shown on the bar. /// /// **Valid options**: `left`, `right`, `center`, `fill` @@ -69,6 +65,10 @@ pub struct ClockModule { /// **Default**: `left` #[serde(default)] justify: ModuleJustification, + + /// See [common options](module-level-options#common-options). + #[serde(flatten)] + pub common: Option, } impl Default for ClockModule {