mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-16 22:31:03 +02:00
refactor(clock): move justify above common
This commit is contained in:
parent
27c14d2da8
commit
59b5ddcc69
1 changed files with 4 additions and 4 deletions
|
@ -58,10 +58,6 @@ pub struct ClockModule {
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
orientation: ModuleOrientation,
|
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.
|
/// The justification (alignment) of the date/time shown on the bar.
|
||||||
///
|
///
|
||||||
/// **Valid options**: `left`, `right`, `center`, `fill`
|
/// **Valid options**: `left`, `right`, `center`, `fill`
|
||||||
|
@ -69,6 +65,10 @@ pub struct ClockModule {
|
||||||
/// **Default**: `left`
|
/// **Default**: `left`
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
justify: ModuleJustification,
|
justify: ModuleJustification,
|
||||||
|
|
||||||
|
/// See [common options](module-level-options#common-options).
|
||||||
|
#[serde(flatten)]
|
||||||
|
pub common: Option<CommonConfig>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for ClockModule {
|
impl Default for ClockModule {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue