1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-08-17 14:51:04 +02:00

refactor(clock): move justify above common

This commit is contained in:
BowDown097 2025-01-02 07:01:28 -08:00
parent 27c14d2da8
commit 59b5ddcc69

View file

@ -58,10 +58,6 @@ pub struct ClockModule {
#[serde(default)]
orientation: ModuleOrientation,
/// See [common options](module-level-options#common-options).
#[serde(flatten)]
pub common: Option<CommonConfig>,
/// 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<CommonConfig>,
}
impl Default for ClockModule {